You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Ate Douma (JIRA)" <pl...@jakarta.apache.org> on 2005/06/26 13:46:57 UTC

[jira] Created: (PLUTO-132) incorrect VariableInfo scope specification for exported url variable from PortletURL Tags

incorrect VariableInfo scope specification for exported url variable from PortletURL Tags
-----------------------------------------------------------------------------------------

         Key: PLUTO-132
         URL: http://issues.apache.org/jira/browse/PLUTO-132
     Project: Pluto
        Type: Bug
  Components: portlet container  
    Versions: Current CVS, 1.0.1-rc1, 1.0.1-rc2, 1.0.1-rc3    
 Environment: WindowsXP, WAS 5.1.1.3, Jetspeed-2.0-M4 (SVN trunk)
    Reporter: Ate Douma


org.apache.pluto.tags.BasicURLTag.TEI defines the VariableInfo for the "var" attribute with a scope value of VariableInfo.AT_BEGIN (line 51).
WAS 5.1.1.3 (rightfully) optimizes against this specification and retrieves the "var" named attribute value from the pageContext directly after the doStartTag().
But of course this is wrong as the generated url is only stored in the pageContext attributes from org.apache.pluto.tags.BasicURLTag.doEndTag().
Result: "null" values are written out instead of the generated PortletURL :-(

Fix: change the VariableInfo.scope value for the "var" attribute to VariableInfo.AT_END (again: on line 51 in org.apache.pluto.tags.BasicURLTag.java)

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


[jira] Assigned: (PLUTO-132) incorrect VariableInfo scope specification for exported url variable from PortletURL Tags

Posted by "David Sean Taylor (JIRA)" <pl...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-132?page=all ]

David Sean Taylor reassigned PLUTO-132:
---------------------------------------

    Assign To: David Sean Taylor

> incorrect VariableInfo scope specification for exported url variable from PortletURL Tags
> -----------------------------------------------------------------------------------------
>
>          Key: PLUTO-132
>          URL: http://issues.apache.org/jira/browse/PLUTO-132
>      Project: Pluto
>         Type: Bug
>   Components: portlet container
>     Versions: Current CVS, 1.0.1-rc1, 1.0.1-rc2, 1.0.1-rc3
>  Environment: WindowsXP, WAS 5.1.1.3, Jetspeed-2.0-M4 (SVN trunk)
>     Reporter: Ate Douma
>     Assignee: David Sean Taylor
>      Fix For: 1.0.1-rc3
>  Attachments: patch.txt
>
> org.apache.pluto.tags.BasicURLTag.TEI defines the VariableInfo for the "var" attribute with a scope value of VariableInfo.AT_BEGIN (line 51).
> WAS 5.1.1.3 (rightfully) optimizes against this specification and retrieves the "var" named attribute value from the pageContext directly after the doStartTag().
> But of course this is wrong as the generated url is only stored in the pageContext attributes from org.apache.pluto.tags.BasicURLTag.doEndTag().
> Result: "null" values are written out instead of the generated PortletURL :-(
> Fix: change the VariableInfo.scope value for the "var" attribute to VariableInfo.AT_END (again: on line 51 in org.apache.pluto.tags.BasicURLTag.java)

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


[jira] Updated: (PLUTO-132) incorrect VariableInfo scope specification for exported url variable from PortletURL Tags

Posted by "Ate Douma (JIRA)" <pl...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-132?page=all ]

Ate Douma updated PLUTO-132:
----------------------------

    Attachment: patch.txt

Patch file containing fix described above

> incorrect VariableInfo scope specification for exported url variable from PortletURL Tags
> -----------------------------------------------------------------------------------------
>
>          Key: PLUTO-132
>          URL: http://issues.apache.org/jira/browse/PLUTO-132
>      Project: Pluto
>         Type: Bug
>   Components: portlet container
>     Versions: Current CVS, 1.0.1-rc1, 1.0.1-rc2, 1.0.1-rc3
>  Environment: WindowsXP, WAS 5.1.1.3, Jetspeed-2.0-M4 (SVN trunk)
>     Reporter: Ate Douma
>  Attachments: patch.txt
>
> org.apache.pluto.tags.BasicURLTag.TEI defines the VariableInfo for the "var" attribute with a scope value of VariableInfo.AT_BEGIN (line 51).
> WAS 5.1.1.3 (rightfully) optimizes against this specification and retrieves the "var" named attribute value from the pageContext directly after the doStartTag().
> But of course this is wrong as the generated url is only stored in the pageContext attributes from org.apache.pluto.tags.BasicURLTag.doEndTag().
> Result: "null" values are written out instead of the generated PortletURL :-(
> Fix: change the VariableInfo.scope value for the "var" attribute to VariableInfo.AT_END (again: on line 51 in org.apache.pluto.tags.BasicURLTag.java)

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


[jira] Resolved: (PLUTO-132) incorrect VariableInfo scope specification for exported url variable from PortletURL Tags

Posted by "David Sean Taylor (JIRA)" <pl...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/PLUTO-132?page=all ]
     
David Sean Taylor resolved PLUTO-132:
-------------------------------------

    Fix Version: 1.0.1-rc3
     Resolution: Fixed

patch applied and tested on Websphere 5.1
new jar uploaded to bluesunrise remote maven repo

pluto-1.0-svn-201864.jar 


> incorrect VariableInfo scope specification for exported url variable from PortletURL Tags
> -----------------------------------------------------------------------------------------
>
>          Key: PLUTO-132
>          URL: http://issues.apache.org/jira/browse/PLUTO-132
>      Project: Pluto
>         Type: Bug
>   Components: portlet container
>     Versions: Current CVS, 1.0.1-rc1, 1.0.1-rc2, 1.0.1-rc3
>  Environment: WindowsXP, WAS 5.1.1.3, Jetspeed-2.0-M4 (SVN trunk)
>     Reporter: Ate Douma
>     Assignee: David Sean Taylor
>      Fix For: 1.0.1-rc3
>  Attachments: patch.txt
>
> org.apache.pluto.tags.BasicURLTag.TEI defines the VariableInfo for the "var" attribute with a scope value of VariableInfo.AT_BEGIN (line 51).
> WAS 5.1.1.3 (rightfully) optimizes against this specification and retrieves the "var" named attribute value from the pageContext directly after the doStartTag().
> But of course this is wrong as the generated url is only stored in the pageContext attributes from org.apache.pluto.tags.BasicURLTag.doEndTag().
> Result: "null" values are written out instead of the generated PortletURL :-(
> Fix: change the VariableInfo.scope value for the "var" attribute to VariableInfo.AT_END (again: on line 51 in org.apache.pluto.tags.BasicURLTag.java)

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