Nils Breunese wrote:

> I just upgraded openutils-mgnlmedia from 4.2.1 to 4.3.0 on my local machine 
> and found I got HTTP 500 errors when trying to browse a folder with pictures. 
> The full stack trace is below.
>
> The cause is a NoSuchMethodError for javax.jcr.query.Row.getNode(). and 
> indeed, the Row interface doesn't have a getNode() method in JCR 1.0: 
> http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/query/Row.html
>
> However, in JCR 2.0 the Row interface *does* have this method: 
> http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/query/Row.html
>
> I upgraded the dependency on our Maven project to JCR 2.0 and Simple Media 
> 4.3.0 now worked!
>
> However, now I am a little confused. Is it okay/safe to use JCR 2.0 with 
> Magnolia 4.3.6 on Jackrabbit 1.6? Only Jackrabbit 2.0+ supports JCR 2.0, 
> right?

The key seems to be that openutils-mgnlcriteria 3.0.2 (a dependency used by 
openutils-mgnlmedia 4.3.0) indeed depends on jcr 2.0 and jackrabbit-core 2.0.0: 
https://openutils.svn.sourceforge.net/svnroot/openutils/tags/openutils-mgnlcriteria-3.0.2/pom.xml

Nils.
------------------------------------------------------------------------
 VPRO
 phone:  +31(0)356712911
 e-mail: [email protected]
 web:    www.vpro.nl
------------------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to