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 "Elliot Metsger (JIRA)" <ji...@apache.org> on 2008/03/02 02:02:51 UTC

[jira] Created: (PLUTO-468) isPortletModeAllowed and isWindowStateAllowed do case-sensitve checks

isPortletModeAllowed and isWindowStateAllowed do case-sensitve checks
---------------------------------------------------------------------

                 Key: PLUTO-468
                 URL: https://issues.apache.org/jira/browse/PLUTO-468
             Project: Pluto
          Issue Type: Bug
          Components: portlet container
    Affects Versions: 1.1.4
            Reporter: Elliot Metsger
             Fix For: 2.0.0, 1.1.5


The code underlying these two methods convert the PortletMode or WindowState being checked to a string then compare it using String.equals to another string. Either PortletMode.equals and WindowState.equals need to be used or String.equalsIgnoreCase needs to be used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PLUTO-468) isPortletModeAllowed and isWindowStateAllowed do case-sensitve checks

Posted by "Elliot Metsger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliot Metsger updated PLUTO-468:
---------------------------------

        Fix Version/s:     (was: 1.1.5)
    Affects Version/s: 2.0.0

> isPortletModeAllowed and isWindowStateAllowed do case-sensitve checks
> ---------------------------------------------------------------------
>
>                 Key: PLUTO-468
>                 URL: https://issues.apache.org/jira/browse/PLUTO-468
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container
>    Affects Versions: 2.0.0, 1.1.4
>            Reporter: Elliot Metsger
>             Fix For: 2.0.0
>
>
> The code underlying these two methods convert the PortletMode or WindowState being checked to a string then compare it using String.equals to another string. Either PortletMode.equals and WindowState.equals need to be used or String.equalsIgnoreCase needs to be used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (PLUTO-468) isPortletModeAllowed and isWindowStateAllowed do case-sensitve checks

Posted by "Craig Doremus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PLUTO-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Doremus closed PLUTO-468.
-------------------------------

    Resolution: Fixed

Duplicate of PLUO-462.

> isPortletModeAllowed and isWindowStateAllowed do case-sensitve checks
> ---------------------------------------------------------------------
>
>                 Key: PLUTO-468
>                 URL: https://issues.apache.org/jira/browse/PLUTO-468
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container
>    Affects Versions: 2.0.0, 1.1.4
>            Reporter: Elliot Metsger
>             Fix For: 2.0.0
>
>
> The code underlying these two methods convert the PortletMode or WindowState being checked to a string then compare it using String.equals to another string. Either PortletMode.equals and WindowState.equals need to be used or String.equalsIgnoreCase needs to be used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.