ok, I've created OAK-478 if you find a fix, please also commit the path (which will remove the node types :)
thanks, alex https://issues.apache.org/jira/browse/OAK-478 On Tue, Nov 27, 2012 at 11:50 AM, Jukka Zitting <[email protected]>wrote: > Hi, > > On Tue, Nov 27, 2012 at 12:46 PM, Michael Dürig <[email protected]> > wrote: > > On 23.11.12 15:17, [email protected] wrote: > >> - added node types to the index nodes, to prevent a NPE in the node > type > >> validation code > > > > Thanks for fixing this. However, I think we should also fix the NPE. A > > missing node type might be an error condition, but it shouldn't result > in a > > NPE. Do you have a way to reproduce this? If you, could you log an issue? > > Since the index nodes are hidden the type validator should never be > looking at them in the first place, and thus I'd even like to avoid > having to use workarounds like the extra jcr:primaryType setting in > the index nodes. > > BR, > > Jukka Zitting >
