[Cartoweb-dev] [Bug 1286] Coreplugin override of server handleCorePlugin is now broken

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Jul 31 04:57:38 EDT 2008


------- Additional Comments From oliver.christen at camptocamp.com  2008-07-31 04:57 -------
the problem a bit more subtile:

in the original location coreplugin, server side, the function handleCorePlugin
do not return anything, the return object is instantiated in function
handleDrawing, called later.

The test_project, we have a plugin "projectLocation" that extends location. In
that plugin the return object is instantiated in function handleCorePlugin.
And since it extends location, the return object will be instantiated a second
time in handleDrawing.
So the return object for plugin location is set twice and since we have a check
in ServerPluginHelper.php, function callHandleFunction, that check if the return
object is already set, we have a collision.

So the question is do we simply replace the existing return object ? we merge
them? we simply modify the projectLocation on server side to do the return in
handleDrawing instead of in handleCorePlugin ?

------- 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