-
Task
-
Resolution: Unresolved
-
Major
-
4.3.0
-
None
-
None
-
1 - Middle term
-
2 - Normal
The ContentSearchHelper#getAttributeValue receives a content, a data path and a model item. But the model item could be computed via a content#getDefinition(dataPath) call
This could lead to less errors because the given model item could be wrong.
Example with Jira CMS-10299: The given model item was the title attribute definition staticly computed by ContentTypesHelper#getTitleAttributeDefinition, with a String type. But the content had a multilingual title (this was an error fixed in the CMS-10299). This led to an error in value transforming
- Référence
-
CMS-10299 [SearchModel] Search does not work if 'title' is multilingual
-
- Closed
-
[CMS-10322] [ContentSearchHelper] the #getAttributeValue should not take the modelItem as parameter
Fix Version/s | New: 4.9.0 [ 18890 ] | |
Fix Version/s | Original: 4.8.0 [ 17990 ] |
Fix Version/s | New: 4.8.0 [ 17990 ] | |
Fix Version/s | Original: 4.7.0 [ 17704 ] |
Fix Version/s | New: 4.7.0 [ 17704 ] | |
Fix Version/s | Original: 4.6.0 [ 16903 ] |
Fix Version/s | New: 4.6.0 [ 16903 ] | |
Fix Version/s | Original: 4.5.0 [ 16182 ] |
Fix Version/s | New: 4.5.0 [ 16182 ] | |
Fix Version/s | Original: 4.4.0 [ 15598 ] |
Fix Version/s | New: 4.4.0 [ 15598 ] | |
Fix Version/s | Original: 4.LATER [ 13984 ] |
Estimation | New: 2 - Normal [ 10220 ] | |
Internal review | New: 1 - Middle term [ 10216 ] |