unknown
1970-01-01 00:00:00 UTC
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.
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.