[ http://jira.magnolia.info/browse/MGNLDMS-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Joseph updated MGNLDMS-132: ----------------------------------- Fix Version/s: (was: 1.2.6) Right. Created MAGNOLIA-2359 for this. Leaving this open until we implement a solution so that others running into the issue can understand it as well. > 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 > > 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/ ----------------------------------------------------------------