[Cartoweb-dev] [Bug 1748] toolTips

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Aug 7 09:34:11 EDT 2008


http://bugzilla.maptools.org/show_bug.cgi?id=1748





------- Additional Comments From oliver.christen at camptocamp.com  2008-08-07 09:34 -------
Created an attachment (id=262)
 --> (http://bugzilla.maptools.org/attachment.cgi?id=262&action=view)
solve lost project id problem

the current project id is only saved if it is passed via POST/GET, otherwise
the code in ClientProjectHandler.php will try to get it from ENV or other
external files/variables. There is simply no way for Cartoweb to know which is
the real current project once it has been selected via a project=xxx

the patch solve this problem by actualy storing the current project id in
session.

but this required to call for session_start before $this->initializePlugins();
I see no reason why this would break anything, after all session_start doesnt
do anything beside allowing access to $_SESSION.
session_start was initialy placed after $this->initializePlugins(); when the
switch mapId was implemented.

This patch need additional testing to see if it compatible with switch mapId !



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list