[gatein-issues] [JBoss JIRA] Commented: (GTNWSRP-97) NetUnity producer - bad format of URL was not encoded

Matt Wringe (JIRA) jira-events at lists.jboss.org
Wed Oct 13 19:45:39 EDT 2010


    [ https://jira.jboss.org/browse/GTNWSRP-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556872#action_12556872 ] 

Matt Wringe commented on GTNWSRP-97:
------------------------------------

The issue is with producer url writing. And in this case the producer is adding the resource url variable directly to the portlet url.

What we have been doing for wsrp 2.0 is trying to be smart with how we deal with resources. In wsrp 2.0 there are 3 different variables we need to keep track of when dealing with resources (resource url, resource id, preferred resource operation), so what we were doing was to encode those resources as a single string and used that for the portlet container's resource invocation id. This obviously breaks when dealing with producer url writing :(

Note: the producer url writing is also broken right now with wsrp 2.0 since it doesn't take into account the other wsrp values which may need rewriting

> NetUnity producer - bad format of URL was not encoded
> -----------------------------------------------------
>
>                 Key: GTNWSRP-97
>                 URL: https://jira.jboss.org/browse/GTNWSRP-97
>             Project: GateIn WSRP
>          Issue Type: Bug
>          Components: Consumer
>    Affects Versions: 2.0.0-Beta01
>         Environment: Netunity producer: http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL
>            Reporter: Michal Vanco
>            Assignee: Chris Laprun
>             Fix For: 2.0.0-Beta02
>
>
> NetUnity producer:
> create consumer -> import remote porlets -> add any remote portlet on page -> I get error in log:
> ERROR [portal:UIPortletActionListener] Problem while serving resource for the portlet: netunity.22DCEB09-25E0-4d24-9BC9-8ACAF3108567
> java.lang.IllegalArgumentException: Bad format: [http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx/getResource?portletHandle=22DCEB09-25E0-4d24-9BC9-8ACAF3108567&Function=Resource&Name=NetUnity&Type=GIF] was not encoded by JBoss Portal and thus cannot be decoded.
> Portlet on page is displayed properly.
> (also message could be changed not to mention JBoss Portal)
> I reproduced the same issue with GateIn trunk and EPP5.1.0.ER02, see hudson log:
> http://hudson.qa.jboss.com/hudson/view/GateIn/job/gatein_portal_wsrp_ui_tests/57/console
> (Test_WSRP_TestCase_2)

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

        


More information about the gatein-issues mailing list