portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serkan Camurcuoglu (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-868) String comparison bug in PortletPlacementContextImpl causes PortletPlacementException
Date Mon, 02 Jun 2008 20:47:44 GMT
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


Mime
View raw message