jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@apache.org>
Subject Index definition with unregistered namespace
Date Wed, 05 Mar 2014 23:52:56 GMT

I recently encountered a bug where someone created an index definition
in the initial content, that contains a property name with a namespace
that was never registered. something like:

IndexUtils.createIndexDefinition(builder, "test", true, false,
singleton("foo:testproperty"), null);

the index was created, but then later, accessing the index node
through JCR failed.
I wanted to create a test and an issue, but have difficulties to find
an existing test to copy from :-)

any hints?

regards, toby

View raw message