3 Replies Latest reply on Jul 8, 2010 9:29 PM by rhauch

    Change in behavior in ModeShape 1.2

    meetoblivion

      Hey there

       

      Just noticed this. I'm not sure if it's a change in behavior that I missed or what.

       

      I have code like this:

       

      _node.getProperty(PropKeys.Title).getString()

       

      Which throws exception:

       

      javax.jcr.PathNotFoundException: No item exists at path TITLE relative to /versions/nodes/mynode in workspace "contentWorkspace"
              at org.modeshape.jcr.AbstractJcrNode.getProperty(AbstractJcrNode.java:667)

       

      I can confirm that this property does in fact exist though by browsing through the repo and looking at nodes and properties.