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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]