Summary: | [Widget] ROI widget(s) behaviour when session times out | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Jason Fournier <jfournier@dmsolutions.ca> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | CLOSED FIXED | ||
Severity: | minor | ||
Priority: | P3 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 2 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: |
another possibility: in the ROIRenderer.php that produces the image, render a string saying that the session has expired. I am sure that the broken image comes from some php warnings and could be trapped. To be addressed for 1.99
updated version to 1.99
fixed in cvs.
Who can verify this bug and has Netscape 7.1. It seems to work in Firefox 0.9 :)
sorry, does not work in firefox 0.9..... the session ran out and tried to make another rectangle and got a broken image. I jumped the gun again.
this was fixed, a change to another part of chameleon that handled invalid sessions was causing text to be returned when previously it wasn't.
When session expires during the use of the ROI tools on: http://localhost/chameleon/samples/sample_roi.phtml When the user tries to draw a new rectangle roi, a small gray image "session expired" shows up and all roi drawn polygons disappear. Working and Verified beta 2 20040709 Windows ie 6
sorry last comment was for the windows 2000 regression test on beta 2 20040709
Still there on Fedora Core 2 Chameleon 20040709. I was able to draw multiple ROI eventhough session expired.
yes I was able to draw rectangles, but they would disappear once I completed the draw. Is this the case on Linux, or does the polygon you drew post session expiring stays on the map? If yes to the polygon not being saved on the map. Then I think this is ok, for this bug since the issue was that when the session expired you got a broken image map when trying to use the ROI tool. Where the solution was to have the "session expired" label at the top left of the map explains clearly to the user what has happened. If you think the user should not even be able to draw a rectangle post draw than maybe this should be a new bug to be discussed and/or fixed for beta 3.??
Yes Chris, ROI still appears on the map after session expired. I could redo the test again monday.
Norm, how did you verify that your session had expired? It is highly unlikely that you would be able to generate an ROI image if the session had expired as the information to draw the ROI is stored in the session (which was the original problem). The only possible explanation that I can think of is that they session expiry logic is broken on linux. But in either case, you are not seeing this bug any more so it can be closed. If the ROI can be drawn after session expired on Linux, that should be a separate bug since it is unrelated to the original problem stated in this bug.
I agree with you both (Chris and Paul) that is not related to this bug. This is a different bug. When the session expired a message is displayed: "Your session has expired.". I changing this bug status to "Fixed" and "Closed".
Verified on Fedora Core 2 Chameleon 20040709 (already verified on Windows).