portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24242] New: - Weather portlet influences other portlets' state
Date Thu, 30 Oct 2003 08:05:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24242>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24242

Weather portlet influences other portlets' state

           Summary: Weather portlet influences other portlets' state
           Product: Jetspeed
           Version: 1.4b5-dev / CVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Portlets
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: olaf.romanski@tpg.pl


To reproduce that error:
1.Customize your page so that it contains Weather portlet (or any derived) and 
at least one other portlet (for more informative example, two others)
2.Click "Minimize" on any non-weather portlet
3.Click "Minimize" on second non-weather portlet
Expected result:
Minimized portlets remain minimized.
Real result:
Previously minimized portlet is displayed in normal mode again. (Alternatively 
to minimizing two portlets, you may minimize one, switch to another pane, move 
back to the first pane. The results will be identical.)

Here is what I have learned from my investigation:
1. The reason is, that current user's PSML is written by "Minimize" action and 
then overwritten with invalid (old) content by buildNormalContext method of 
WeatherAction class
2. The line of code that is causing problem:
PortletConfigState.setInstanceParameter(portlet, rundata, WEATHER_CITY_INFO, 
cityInfo);

I think that the above line is excessive, and somewhat incompatible
with general JS patterns.

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


Mime
View raw message