You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Serkan Camurcuoglu (JIRA)" <je...@portals.apache.org> on 2008/06/02 22:47:44 UTC

[jira] Created: (JS2-868) String comparison bug in PortletPlacementContextImpl causes PortletPlacementException

String comparison bug in PortletPlacementContextImpl causes PortletPlacementException
-------------------------------------------------------------------------------------

                 Key: JS2-868
                 URL: https://issues.apache.org/jira/browse/JS2-868
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Ajax
    Affects Versions: 2.1.3
         Environment: Tomcat installed by Jetspeed 2.1.3 Demo Installer running on Fedora Core 4 Linux, browser is Firefox 2.
            Reporter: Serkan Camurcuoglu


On line 749 of org.apache.jetspeed.layout.impl.PortletPlacementContextImpl the following expression compares two strings using !=

foundFragment.getId() != fragment.getId()

and this returns false even though the two ids are the same, and therefore a PortletPlacementException is thrown.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-868) String comparison bug in PortletPlacementContextImpl causes PortletPlacementException

Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vivek Kumar reassigned JS2-868:
-------------------------------

    Assignee: Vivek Kumar

> String comparison bug in PortletPlacementContextImpl causes PortletPlacementException
> -------------------------------------------------------------------------------------
>
>                 Key: JS2-868
>                 URL: https://issues.apache.org/jira/browse/JS2-868
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Ajax
>    Affects Versions: 2.1.3
>         Environment: Tomcat installed by Jetspeed 2.1.3 Demo Installer running on Fedora Core 4 Linux, browser is Firefox 2.
>            Reporter: Serkan Camurcuoglu
>            Assignee: Vivek Kumar
>             Fix For: 2.2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> On line 749 of org.apache.jetspeed.layout.impl.PortletPlacementContextImpl the following expression compares two strings using !=
> foundFragment.getId() != fragment.getId()
> and this returns false even though the two ids are the same, and therefore a PortletPlacementException is thrown.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Issue Comment Edited: (JS2-868) String comparison bug in PortletPlacementContextImpl causes PortletPlacementException

Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638978#action_12638978 ] 

firevelocity edited comment on JS2-868 at 10/13/08 5:00 AM:
-----------------------------------------------------------

This issue has been fixed with JIRA isuse https://issues.apache.org/jira/browse/JS2-862

      was (Author: firevelocity):
    This issue has been fixed with JIRA isuse 868
  
> String comparison bug in PortletPlacementContextImpl causes PortletPlacementException
> -------------------------------------------------------------------------------------
>
>                 Key: JS2-868
>                 URL: https://issues.apache.org/jira/browse/JS2-868
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Ajax
>    Affects Versions: 2.1.3
>         Environment: Tomcat installed by Jetspeed 2.1.3 Demo Installer running on Fedora Core 4 Linux, browser is Firefox 2.
>            Reporter: Serkan Camurcuoglu
>            Assignee: Vivek Kumar
>             Fix For: 2.2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> On line 749 of org.apache.jetspeed.layout.impl.PortletPlacementContextImpl the following expression compares two strings using !=
> foundFragment.getId() != fragment.getId()
> and this returns false even though the two ids are the same, and therefore a PortletPlacementException is thrown.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Closed: (JS2-868) String comparison bug in PortletPlacementContextImpl causes PortletPlacementException

Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vivek Kumar closed JS2-868.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

This issue has been fixed with JIRA isuse 868

> String comparison bug in PortletPlacementContextImpl causes PortletPlacementException
> -------------------------------------------------------------------------------------
>
>                 Key: JS2-868
>                 URL: https://issues.apache.org/jira/browse/JS2-868
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Ajax
>    Affects Versions: 2.1.3
>         Environment: Tomcat installed by Jetspeed 2.1.3 Demo Installer running on Fedora Core 4 Linux, browser is Firefox 2.
>            Reporter: Serkan Camurcuoglu
>            Assignee: Vivek Kumar
>             Fix For: 2.2
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> On line 749 of org.apache.jetspeed.layout.impl.PortletPlacementContextImpl the following expression compares two strings using !=
> foundFragment.getId() != fragment.getId()
> and this returns false even though the two ids are the same, and therefore a PortletPlacementException is thrown.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org