[ 
https://wso2.org/jira/browse/REGISTRY-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krishantha Samaraweera reopened REGISTRY-235:
---------------------------------------------


Resources can not be renamed, Exception occurred. But collection renaming is 
working properly.

org.wso2.registry.RegistryException: Failed to add the resource to the path : 
/f59/f2/r1.
        at org.wso2.registry.app.RemoteRegistry.rename(RemoteRegistry.java:359)
        at 
org.wso2.registry.app.ResourceHandling.testResourceCopy(ResourceHandling.java:69)
        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:585)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        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:120)
        at junit.textui.TestRunner.doRun(TestRunner.java:121)
        at 
com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65)
        at junit.textui.TestRunner.doRun(TestRunner.java:114)
        at 
com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
        at 
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
        at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
        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:585)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


> Registy API: comments and tags are not copied when renaming resources.
> ----------------------------------------------------------------------
>
>                 Key: REGISTRY-235
>                 URL: https://wso2.org/jira/browse/REGISTRY-235
>             Project: WSO2 Registry
>          Issue Type: Bug
>          Components: APP
>    Affects Versions: SNAPSHOT
>         Environment: Ubuntu 7.10, JDK 1.5.0_08, tomcat 6.0.14, Firefox/2.0.0.8
>            Reporter: Krishantha Samaraweera
>            Assignee: Deepal Jayasinghe
>
> pls execute test case "testResouceCopy" in 
> /registry/modules/core/src/test/java/org/wso2/registry/app/ResourceHandling.java

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

        

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to