[ http://jira.codehaus.org/browse/CONTINUUM-800?page=all ]

Joakim Erdfelt updated CONTINUUM-800:
-------------------------------------

    Attachment: CONTINUUM-800-maven-user-model-testing.patch

Attached a new patch for maven-user-model testing.
There's an odd error with UserGroup.getPermissions() that this testcase 
identifies, but I do not know how to fix it (yet).

javax.jdo.JDODetachedFieldAccessException: You have just attempted to access 
field "permissions" yet this field was not detached when you detached the 
object. Either dont access this field, or detach the field when detaching the 
object.
        at 
org.apache.maven.user.model.UserGroup.jdoGetpermissions(UserGroup.java)
        at 
org.apache.maven.user.model.UserGroup.getPermissions(UserGroup.java:112)
        at 
org.apache.maven.user.model.impl.DefaultUserManagerTest.testGetSetPermissions(DefaultUserManagerTest.java:374)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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 junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)



> Use maven-user project for user management
> ------------------------------------------
>
>                 Key: CONTINUUM-800
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-800
>             Project: Continuum
>          Issue Type: Sub-task
>            Reporter: Carlos Sanchez
>         Attachments: CONTINUUM-800-continuum-webapp.patch, 
> CONTINUUM-800-maven-user-model-testing.patch, 
> CONTINUUM-800-maven-user-webapp.patch, CONTINUUM-800-maven-user.patch, 
> maven-user-model-testing.patch
>
>
> Added a first version of user management in 
> https://svn.apache.org/repos/asf/maven/shared/trunk/maven-user
> We have to move user code from Continuum there and use it instead

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to