[jira] Created: (REGISTRY-458) Promoting a resource where the name contains an & fails

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (REGISTRY-458) Promoting a resource where the name contains an & fails

JIRA jira@wso2.org
Promoting a resource where the name contains an & fails
-------------------------------------------------------

                 Key: REGISTRY-458
                 URL: https://wso2.org/jira/browse/REGISTRY-458
             Project: WSO2 Registry
          Issue Type: Bug
          Components: core
    Affects Versions: 1.1
         Environment: Tomcat 6.0.16
            Reporter: Matthew Codd
            Assignee: Chathura Ekanayake
            Priority: Minor


To reproduce

1/ Create a collection called TestCollection
2/ Create a collection called Test&Failure
3/ Create a lifecycle
4/ Attempt to promote the lifecycle - state stays as created and the following exception is thrown:

{noformat}
[ERROR] 6015594 Failed to invoke action 'promote' of aspect Lifecycle for the resource /TestCollection/Test: Resource at '/TestCollection/Test' does not exist.
org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
        at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
        at org.wso2.registry.jdbc.BasicRegistry.invokeAspect(BasicRegistry.java:707)
        at org.wso2.registry.jdbc.AtomicRegistry.invokeAspect(AtomicRegistry.java:1012)
        at org.wso2.registry.jdbc.JDBCRegistry.invokeAspect(JDBCRegistry.java:601)
        at org.wso2.registry.session.UserRegistry.invokeAspect(UserRegistry.java:452)
        at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
        at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
        at org.wso2.registry.jdbc.AtomicRegistry.get(AtomicRegistry.java:177)
        at org.wso2.registry.jdbc.JDBCRegistry.get(JDBCRegistry.java:299)
        at org.wso2.registry.session.UserRegistry.get(UserRegistry.java:185)
        at org.wso2.registry.web.actions.ResourceDetailsAction.execute(ResourceDetailsAction.java:188)
        at org.wso2.registry.web.ControllerServlet.forwardToResources(ControllerServlet.java:887)
        at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:340)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
{noformat}

--
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Work started: (REGISTRY-458) Promoting a resource where the name contains an & fails

JIRA jira@wso2.org

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

Work on REGISTRY-458 started by Chathura Ekanayake.

> Promoting a resource where the name contains an & fails
> -------------------------------------------------------
>
>                 Key: REGISTRY-458
>                 URL: https://wso2.org/jira/browse/REGISTRY-458
>             Project: WSO2 Registry
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1
>         Environment: Tomcat 6.0.16
>            Reporter: Matthew Codd
>            Assignee: Chathura Ekanayake
>            Priority: Minor
>
> To reproduce
> 1/ Create a collection called TestCollection
> 2/ Create a collection called Test&Failure
> 3/ Create a lifecycle
> 4/ Attempt to promote the lifecycle - state stays as created and the following exception is thrown:
> {noformat}
> [ERROR] 6015594 Failed to invoke action 'promote' of aspect Lifecycle for the resource /TestCollection/Test: Resource at '/TestCollection/Test' does not exist.
> org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
>         at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
>         at org.wso2.registry.jdbc.BasicRegistry.invokeAspect(BasicRegistry.java:707)
>         at org.wso2.registry.jdbc.AtomicRegistry.invokeAspect(AtomicRegistry.java:1012)
>         at org.wso2.registry.jdbc.JDBCRegistry.invokeAspect(JDBCRegistry.java:601)
>         at org.wso2.registry.session.UserRegistry.invokeAspect(UserRegistry.java:452)
>         at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:335)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
>         at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
>         at org.wso2.registry.jdbc.AtomicRegistry.get(AtomicRegistry.java:177)
>         at org.wso2.registry.jdbc.JDBCRegistry.get(JDBCRegistry.java:299)
>         at org.wso2.registry.session.UserRegistry.get(UserRegistry.java:185)
>         at org.wso2.registry.web.actions.ResourceDetailsAction.execute(ResourceDetailsAction.java:188)
>         at org.wso2.registry.web.ControllerServlet.forwardToResources(ControllerServlet.java:887)
>         at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:340)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> {noformat}

--
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (REGISTRY-458) Promoting a resource where the name contains an & fails

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

    [ https://wso2.org/jira/browse/REGISTRY-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27506#action_27506 ]

Vijayaratha Vijayasingam commented on REGISTRY-458:
---------------------------------------------------

Still this issue is in beta distribution..

> Promoting a resource where the name contains an & fails
> -------------------------------------------------------
>
>                 Key: REGISTRY-458
>                 URL: https://wso2.org/jira/browse/REGISTRY-458
>             Project: WSO2 Registry
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1
>         Environment: Tomcat 6.0.16
>            Reporter: Matthew Codd
>            Assignee: Chathura Ekanayake
>            Priority: Low
>
> To reproduce
> 1/ Create a collection called TestCollection
> 2/ Create a collection called Test&Failure
> 3/ Create a lifecycle
> 4/ Attempt to promote the lifecycle - state stays as created and the following exception is thrown:
> {noformat}
> [ERROR] 6015594 Failed to invoke action 'promote' of aspect Lifecycle for the resource /TestCollection/Test: Resource at '/TestCollection/Test' does not exist.
> org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
>         at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
>         at org.wso2.registry.jdbc.BasicRegistry.invokeAspect(BasicRegistry.java:707)
>         at org.wso2.registry.jdbc.AtomicRegistry.invokeAspect(AtomicRegistry.java:1012)
>         at org.wso2.registry.jdbc.JDBCRegistry.invokeAspect(JDBCRegistry.java:601)
>         at org.wso2.registry.session.UserRegistry.invokeAspect(UserRegistry.java:452)
>         at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:335)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
>         at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
>         at org.wso2.registry.jdbc.AtomicRegistry.get(AtomicRegistry.java:177)
>         at org.wso2.registry.jdbc.JDBCRegistry.get(JDBCRegistry.java:299)
>         at org.wso2.registry.session.UserRegistry.get(UserRegistry.java:185)
>         at org.wso2.registry.web.actions.ResourceDetailsAction.execute(ResourceDetailsAction.java:188)
>         at org.wso2.registry.web.ControllerServlet.forwardToResources(ControllerServlet.java:887)
>         at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:340)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> {noformat}

--
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
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/registry-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (REGISTRY-458) Promoting a resource where the name contains an & fails

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

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

Vijayaratha Vijayasingam reassigned REGISTRY-458:
-------------------------------------------------

    Assignee: sumedha rubasinghe  (was: Chathura Ekanayake)

> Promoting a resource where the name contains an & fails
> -------------------------------------------------------
>
>                 Key: REGISTRY-458
>                 URL: https://wso2.org/jira/browse/REGISTRY-458
>             Project: WSO2 Registry
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1
>         Environment: Tomcat 6.0.16
>            Reporter: Matthew Codd
>            Assignee: sumedha rubasinghe
>            Priority: Low
>
> To reproduce
> 1/ Create a collection called TestCollection
> 2/ Create a collection called Test&Failure
> 3/ Create a lifecycle
> 4/ Attempt to promote the lifecycle - state stays as created and the following exception is thrown:
> {noformat}
> [ERROR] 6015594 Failed to invoke action 'promote' of aspect Lifecycle for the resource /TestCollection/Test: Resource at '/TestCollection/Test' does not exist.
> org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
>         at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
>         at org.wso2.registry.jdbc.BasicRegistry.invokeAspect(BasicRegistry.java:707)
>         at org.wso2.registry.jdbc.AtomicRegistry.invokeAspect(AtomicRegistry.java:1012)
>         at org.wso2.registry.jdbc.JDBCRegistry.invokeAspect(JDBCRegistry.java:601)
>         at org.wso2.registry.session.UserRegistry.invokeAspect(UserRegistry.java:452)
>         at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:335)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> org.wso2.registry.exceptions.ResourceNotFoundException: Resource at '/TestCollection/Test' does not exist.
>         at org.wso2.registry.jdbc.BasicRegistry.get(BasicRegistry.java:130)
>         at org.wso2.registry.jdbc.AtomicRegistry.get(AtomicRegistry.java:177)
>         at org.wso2.registry.jdbc.JDBCRegistry.get(JDBCRegistry.java:299)
>         at org.wso2.registry.session.UserRegistry.get(UserRegistry.java:185)
>         at org.wso2.registry.web.actions.ResourceDetailsAction.execute(ResourceDetailsAction.java:188)
>         at org.wso2.registry.web.ControllerServlet.forwardToResources(ControllerServlet.java:887)
>         at org.wso2.registry.web.ControllerServlet.doPost(ControllerServlet.java:340)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> {noformat}

--
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
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/registry-dev