-
Bug
-
Resolution: Fixed
-
Neutral
-
1.4.3
-
None
-
-
Empty show more show less
Steps to reproduce:
- add download list paragraph to a page.
- edit paragraph configuration
- set document link = /openwfe/openwfe-technical-presentation
- set file extension = pdf
- save dialog
Expected result - dialog list displays openwfe technical presentation (PDF, 174 KB)
Actual result - dialog list is empty
After some investigation it appears that the issue is in DownloadListModel::116.
Changing
if(node.getItemType().equals(ItemType.CONTENT)){ expressions.add("jcr:path like '" + link + "/%'"); } else if(Document.isDocument(node)){ expressions.add("jcr:path like '" + link + "'"); }
to just (i.e. removing the if/else condition)
expressions.add("jcr:path like '" + link + "/%'");
seems to resolve the issue.
Acceptance criteria
- caused by
-
MGNLSTK-592 Add a paragraph feature template that allows you to dump a list of nodes from DMS into the content area
- Closed