[ http://jira.magnolia.info/browse/MGNLDMS-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651#action_17651 ]
Jan Haderka commented on MGNLDMS-132: ------------------------------------- I managed to reproduce this on fresh installation. Once I delete paragraph and create it again, I'm not able to reproduce it any more. > 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 > Priority: Critical > 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/ ----------------------------------------------------------------