MapGuide Open Source:  Home |  Download |  Internals

Ticket #809 (closed defect: fixed)

Opened 1 year ago

Last modified 11 months ago

Allow the task pane initial url to have parameters

Reported by: jng Assigned to: jng
Priority: medium Milestone:
Component: AJAX Viewer Version: 2.0.1
Severity: major Keywords:
Cc: External ID:

Description

The current task pane "hard-codes" the initial url given with a set of predefined parameters.

So given a url of "/foo/bar.php", the resulting url is:

/foo/bar.php?SESSION=someuglylongsessionid&WEBLAYOUT=Library://Path/To/The.WebLayout&DWF=0&LOCALE=en

But say I want to supply a url with parameters "/foo/bar.php?snafu=0", I will get the following url:

/foo/bar.php?snafu=0?SESSION=someuglylongsessionid&WEBLAYOUT=Library://Path/To/The.WebLayout&DWF=0&LOCALE=en

Note the two "?" characters in the query string. Thus passing in an initial url with additional GET parameters, will trip up any page in the task pane that is expecting these additional GET parameters.

Attachments

809.patch (6.3 kB) - added by jng on 03/24/09 09:45:50.
Patch for taskframe template and php/java/.net viewers
809v2.patch (6.7 kB) - added by jng on 03/25/09 07:11:52.
2nd revision of patch

Change History

03/19/09 08:30:52 changed by jng

  • owner set to jng.

03/24/09 09:45:50 changed by jng

  • attachment 809.patch added.

Patch for taskframe template and php/java/.net viewers

03/25/09 07:11:52 changed by jng

  • attachment 809v2.patch added.

2nd revision of patch

03/25/09 18:21:44 changed by jng

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r3759