-
Bug
-
Resolution: Fixed
-
Neutral
-
1.6.4, 1.7.1, 1.8
-
-
Yes
-
Empty show more show less
-
Kromeriz 146
-
2
The search query in info.magnolia.module.dependencies.impl.DefaultDependencies.getNodes(Node) fails if the page node name contains a dot followed by a number like:
select * from [nt:base] where ischildnode([/t.2]) and [jcr:primaryType] <> 'mgnl:page'
while the following statement works:
select * from [nt:base] where ischildnode('/t.2') and [jcr:primaryType] <> 'mgnl:page'
The statement pattern should be updated to use the quotation marks rather than square brackets:
String statement = String.format("select * from [nt:base] where ischildnode('%s') and [jcr:primaryType] <> '%s'", node.getPath(), node.getPrimaryNodeType().getName());
Acceptance criteria
- mentioned in
-
Page Loading...