Opened 16 years ago
Closed 16 years ago
#126 closed defect (fixed)
Double Map Name in Custom Tasks
Reported by: | cgountanis | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | 1.1 |
Component: | MapGuide | Version: | 1.0.7 |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | Approved |
Description
To reproduce this you need to creat a task page and in the layout point this task to a custom web page. Notice Default48cac719ef247 is in the string twice. This is an annoyance which casues third party programming issues. Why does it duplicate URL or Query String data when you run a custom task.
Example of QueryString
Change History (4)
comment:1 by , 16 years ago
state: | New → Analysis Requested |
---|
comment:2 by , 16 years ago
state: | Analysis Requested → Approved |
---|
Actually, I spoke too soon - I was looking in Studio for something else and realized that there are two widgets in play here, TaskPane and InvokeURL, and it turns out that both of them are adding the three parameters to the URL. I'm not sure which widget's implementation is better, but "there can only be one"!
Thinking this through a little, InvokeURL can open a page in either the task pane or another frame or a separate window, so it needs to add the parameters. Other widgets like BufferPanel can do the same. I think that the extra parameters should be removed from the code in TaskPane.
Mike, please review this and see if there are any other widgets that can target the taskpane that don't add the parameters and adjust them to add the parameters, then remove that code from TaskPane.
comment:3 by , 16 years ago
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
A quick inspection of the code doesn't reveal anything particularly obvious that would be causing this. Analysis required.