jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Parvulescu <alex.parvule...@gmail.com>
Subject Re: svn commit: r1412910 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/ReadWriteOakDirectory.java
Date Tue, 27 Nov 2012 13:30:45 GMT
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 <jukka.zitting@gmail.com>wrote:

> Hi,
>
> On Tue, Nov 27, 2012 at 12:46 PM, Michael Dürig <mduerig@apache.org>
> wrote:
> > On 23.11.12 15:17, alexparvulescu@apache.org 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message