You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/12/24 23:15:13 UTC
[jira] [Created] (SLING-4267) Json content import does not work for
the JCR_JACKRABBIT resource resolver type
Robert Munteanu created SLING-4267:
--------------------------------------
Summary: Json content import does not work for the JCR_JACKRABBIT resource resolver type
Key: SLING-4267
URL: https://issues.apache.org/jira/browse/SLING-4267
Project: Sling
Issue Type: Bug
Components: Testing
Affects Versions: Testing Sling Mock Jackrabbit 0.1.0
Reporter: Robert Munteanu
Fix For: Testing Sling Mock Jackrabbit 0.2.0
The tests are ignored for now and the implementation fails when run in a test case. The stack trace is similar to:
{noformat}java.lang.NullPointerException
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.create(ResourceResolverImpl.java:1044)
at org.apache.sling.testing.mock.sling.loader.ContentLoader.createResourceHierarchy(ContentLoader.java:183)
at org.apache.sling.testing.mock.sling.loader.ContentLoader.json(ContentLoader.java:155)
at org.apache.sling.testing.mock.sling.loader.ContentLoader.json(ContentLoader.java:120){noformat}
The tests, on the other hand, complain that {noformat}app: is not a registered namespace prefix.{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)