Details
-
Bug
-
Resolution: Fixed
-
Minor
-
6.2.16
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Nucleus 25
-
1
Description
The JcrSearchSuppliersGenerator generates a SearchSupplierDefinition for jcr apps without a configured one. However it does not set the definition name causing the message bundle key for the app name to be 'search.result.supplier..label' instead of 'search.result.supplier.appname.label' resulting in a fallback to the appname itself.
Location in the code where the definition is generated: info.magnolia.ui.framework.JcrSearchSuppliersGenerator.AutogeneratedDefinitionProvider#AutogeneratedDefinitionProvider
Location where the bundle key is generated: info.magnolia.periscope.search.SearchResultSupplierDefinitionKeyGenerator
Reproduction steps:
0) on demo.magnolia-cms.com
1) provide a translation for i18n key search.result.supplier.site.label
2) search sportstation in find bar
Expected result:
translation for key should appear in left column for results from Site app
Actual result:
Site (as an appName fallback) appears in left column
Checklists
Attachments
1.
|
Implementation |
|
Completed | Adam Siska |
2.
|
Code review |
|
Closed | Roman Kovařík |
3.
|
Preint QA |
|
Completed | Sang Ngo Huu |
4.
|
QA |
|
Closed | Jaromir Sarf |