[ 
https://issues.apache.org/jira/browse/JCR-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Guggisberg updated JCR-2408:
-----------------------------------

    Status: Patch Available  (was: Reopened)

patch which partially resolves this issue.

there is still another issue/failing test case caused by a regression of 
JCR-2170:

-------------------------------------------------------------------------------
Test set: org.apache.jackrabbit.core.security.authorization.acl.TestAll
-------------------------------------------------------------------------------
Tests run: 86, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.283 sec <<< 
FAILURE!
testRemoveMixin(org.apache.jackrabbit.core.security.authorization.acl.NodeTypeTest)
  Time elapsed: 0.046 sec  <<< ERROR!
javax.jcr.AccessDeniedException: /testroot/node2/jcr:uuid: not allowed to 
remove item
        at 
org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:630)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1088)
        at 
org.apache.jackrabbit.core.security.authorization.AbstractNodeTypeManagementTest.testRemoveMixin(AbstractNodeTypeManagementTest.java:95)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at 
org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:456)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at 
org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
        at 
org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Thread.java:637)



> Mixin removal exception
> -----------------------
>
>                 Key: JCR-2408
>                 URL: https://issues.apache.org/jira/browse/JCR-2408
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.0-beta1
>            Reporter: Alexandre Capt
>
> When trying to remove a mixin from a non nt:unstructured node (in my case 
> nt:resource), you get the following exception:
> Unable to alter mixin types: javax.jcr.nodetype.ConstraintViolationException: 
> no matching property definition found for 
> {http://www.day.com/jcr/cq/1.0}lastRolledout
> lastRolledout property is defined by the mixin cq:LiveRelationship that I am 
> trying to remove.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to