[magnolia-dev] [JIRA] (CFGUI-62) Properties using 'extends' mechanism do not see decorated values
"JIRA (on behalf of Federico Navarro)" <jira-O8DnXSz/[email protected]> Wed, 21 Jun 2017 16:15:01 +0200 (CEST)
| Newsgroups | gmane.comp.cms.magnolia.devel |
|---|---|
| Message-ID | <[email protected]> |
Federico Navarro created an issue Definitions app / https://jira.magnolia-cms.com/browse/CFGUI-62 CFGUI-62 Properties using 'extends' mechanism do not see decorated values Issue Type: Bug Assignee: Unassigned Attachments: assets.yaml, config.modules.dam-app.apps.assets (1).xml, config.modules.dam-app.apps.assets (1).yaml Created: 21/Jun/17 4:13 PM Priority: Neutral Reporter: Federico Navarro We've come across the following scenario when decorating some settings of the dam-app assets application. This app has two sub-apps, and one specific property is inherited by the other sub-app (in this example, contentConnector) In the attached example, the subApps.browser.contentConnector.rootPath is being modified with a decoration. However, the change is not reflected in subApps.detail.contentConnector.rootPath subApps.browser.contentConnector (yaml) contentConnector: workspace: dam rootPath: /assets defaultOrder: jcrName nodeTypes: mainNodeType: name: mgnl:asset folderNodeType: icon: icon-folder-l name: mgnl:folder subApps.detail.contentConnector.rootPath (yaml) contentConnector: defaultOrder: jcrName rootPath: / workspace: dam nodeTypes: mainNodeType: name: mgnl:asset folderNodeType: icon: icon-folder-l name: mgnl:folder subApps/browser/contentConnector (xml) <sv:node sv:name="contentConnector"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:contentNode</sv:value> </sv:property> <sv:property sv:name="defaultOrder" sv:type="String"> <sv:value>jcrName</sv:value> </sv:property> <sv:property sv:name="rootPath" sv:type="String"> <sv:value>/</sv:value> </sv:property> <sv:property sv:name="workspace" sv:type="String"> <sv:value>dam</sv:value> </sv:property> <sv:node sv:name="nodeTypes"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:contentNode</sv:value> </sv:property> <sv:node sv:name="mainNodeType"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:contentNode</sv:value> </sv:property> <sv:property sv:name="name" sv:type="String"> <sv:value>mgnl:asset</sv:value> </sv:property> </sv:node> <sv:node sv:name="folderNodeType"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:contentNode</sv:value> </sv:property> <sv:property sv:name="icon" sv:type="String"> <sv:value>icon-folder-l</sv:value> </sv:property> <sv:property sv:name="name" sv:type="String"> <sv:value>mgnl:folder</sv:value> </sv:property> </sv:node> </sv:node> </sv:node> subApps/detail/contentConnector (xml) <sv:node sv:name="contentConnector"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:contentNode</sv:value> </sv:property> <sv:property sv:name="extends" sv:type="String"> <sv:value>../../browser/contentConnector</sv:value> </sv:property> </sv:node> In the xml export, you can see that subApps.detail.contentConnector.rootPath extends subApps.browser.contentConnector.rootPath This behaviour feels misleading, and it would be expected that the "extends" functionality is applied, and therefore, it would be expected that both settings have the same values. See attached the two exported definitions in yaml and xml and the decorator assets.yaml. https://jira.magnolia-cms.com/browse/CFGUI-62#add-comment Add Comment This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf) ---------- ---------------------------------------------------------------- For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
(unnamed)
(image/png, 425 B) - not displayed
(unnamed)
(image/gif, 98 B) - not displayed
(unnamed)
(image/png, 1.1 KB) - not displayed
(unnamed)
(image/png, 2.9 KB) - not displayed