[ http://jira.magnolia.info/browse/MGNLDMS-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776#action_17776 ]
Jan Haderka commented on MGNLDMS-132: ------------------------------------- The cause of the issue is the fact that that both dms and sitedesigner define dialog called dmsParagraph and while DMS-dmsParagraph defines "link" to use link control, SD-dmsParagraph defines "link" property to use uuidLink control. Do we rename paragraph in DMS or in SD to solve this? Also perhaps we should issue a warning when there are multiple dialogs or paragraphs of same name ... > Dms query paragraph wrongly assumes that the "link" property is a path > ---------------------------------------------------------------------- > > Key: MGNLDMS-132 > URL: http://jira.magnolia.info/browse/MGNLDMS-132 > Project: Magnolia DMS Module > Issue Type: Bug > Affects Versions: 1.2.5 > Reporter: Gregory Joseph > Assignee: Philipp Bracher > Fix For: 1.2.6 > > > If you bootstrap the samples, {{website.help.xml}} for example, you get the > "openwfe" page, listing documents from the dms. This works until one edits > the dialog, at which point the {{link}} property's original value > ("/openwfe") gets substituted by its uuid. > Since {{dms.jsp}} tries to get this node using {{Content node = > MgnlContext.getHierarchyManager("dms").getContent(link);}}, it stops working > as soon as the property becomes a uuid. > Furthermore, the query then does {{SELECT * FROM nt:base WHERE jcr:path like > 'ad2e97ab-bca5-4681-bb00-f6151e7e5803/%' and extension = 'pdf'}} which also > obviously returns no results. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------