Content
View differences
Updated by Oliver Günther almost 8 years ago
**Steps for reproduction**
- Create multi list CF with at least two values, e.g., FOO, BAR, XYZ
- Create work package with a single value FOO
- Edit the work package and set values FOO, BAR
**Expected behavior**
- Value returned from API is correct
**Actual behavior**
- Cached value with FOO custom value is returned
**Additional**
- Notice the API receiving the correct values, and the work package’s `custom_value_for(cf_id)` returns the correct result.
- Wrong hash (with one custom value FOO) returned by `CachedRepresenter#cached_hash_rep`.
- Create multi list CF with at least two values, e.g., FOO, BAR, XYZ
- Create work package with a single value FOO
- Edit the work package and set values FOO, BAR
**Expected behavior**
- Value returned from API is correct
**Actual behavior**
- Cached value with FOO custom value is returned
**Additional**
- Notice the API receiving the correct values, and the work package’s `custom_value_for(cf_id)` returns the correct result.
- Wrong hash (with one custom value FOO) returned by `CachedRepresenter#cached_hash_rep`.