<< Back to previous view

[MMB-1567] Queries#addPath does not handle gracefully if an element can be both a role and a builder. Created: 2007-12-28  Updated: 2010-06-18

Status: Open
Project: MMBase
Component/s: Mmci
Affects Version/s: 1.8.5
Fix Version/s: 2.0.1

Type: Task Priority: Major
Reporter: Michiel Meeuwissen Assignee: Michiel Meeuwissen
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Somebody created a role 'articles' resulting in the less than obvious exception on a totally unrelated page:
org.mmbase.bridge.BridgeException: Path cannot end with a role (articles/)
at org.mmbase.bridge.util.Queries.addPath(Queries.java:767)
at org.mmbase.bridge.jsp.taglib.containers.RelatedNodesContainerTag.doStartTag(RelatedNodesContainerTag.java:89)

At least it should perhaps inform that it is not clear whether the role or the nodemanager was meant.

Actually in the specific case the nodemanager _Must_ be meant because it was the last element in the path.

Generated at Mon Nov 30 03:36:23 CET 2015 using JIRA 4.1#519.