[Cartoweb-dev] [Bug 1814] New: replace hardcoded 'folder6' in Outline.ajax.js

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Oct 22 06:02:49 EDT 2007


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

           Summary: replace hardcoded 'folder6' in Outline.ajax.js
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P2
         Component: Plugins
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: oliver.christen at camptocamp.com


find a way to replace the awful existing "outlineFolderId: 'folder6'," in
Outline.ajax.js by something dynamic.

the effects can  be tricky:

if the folder for the outline tools is not folder6, after any ajax action the
value of the hidden input 'tool' will stay fixed to zoomin, with the consequence
to zoom in everytime the user make an action.

if the user try to pan, the result will be a pan+zoomin, effectively rendering
the application unusable.

The cause of the problem is:

the content of the outline folder is not updated correctly. If the outline tools
are displayed in a toolbar group in that folder, it get lost, the script that
handle the tool cant find the outline tools element in the template and quit
prematurely before the lines of code updating the value of the hiddent input
"tool". That input value keep the same value forever, inducing the
above-mentioned side effect.



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