Opened 12 years ago
Closed 12 years ago
#2089 closed defect (fixed)
Maestro: InvokeURL Fusion widget incorrectly saving AdditionalParameter values
Reported by: | geomapper | Owned by: | jng |
---|---|---|---|
Priority: | high | Milestone: | Maestro-4.0-maintenance |
Component: | Maestro | Version: | 2.2.0 |
Severity: | major | Keywords: | maestro, fusion, invokeurl, additionalparameter |
Cc: | External ID: |
Description
When trying to configure an InvokeURL widget in fusion with multiple AdditionalParameter objects, upon clicking "Save" the widget automatically overwrites the AdditionalParameter values with copies of the first AdditionalParameter.
For example, when I configure the following InvokeURL widget in Maestro:
<?xml version="1.0"?> <WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UiWidgetType"> <Name>Report Generator</Name> <Type>InvokeURL</Type> <Location /> <Extension> <Url>http://localhost/Scripts/FormGenerator.php</Url> <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty> <Target /> <LayerSet> <Layer>Testlayer</Layer> </LayerSet> <AdditionalParameter> <Key>Selected</Key> <Value>$CurrentSelection</Value> </AdditionalParameter> <AdditionalParameter> <Key>DesiredField</Key> <Value>MASTERID</Value> </AdditionalParameter> <AdditionalParameter> <Key>LayerName</Key> <Value>TestLayer_Name</Value> </AdditionalParameter> <AdditionalParameter> <Key>URL</Key> <Value>http://localhost/TestFiles/reporttable.asp</Value> </AdditionalParameter> <AdditionalParameter> <Key>DestinationKeyName</Key> <Value>MASTERID</Value> </AdditionalParameter> </Extension> <ImageUrl>images/icons.png</ImageUrl> <ImageClass>options</ImageClass> <Label>Report TEST</Label> <Tooltip>Report TEST</Tooltip> <StatusText>Report TEST</StatusText> <Disabled>false</Disabled> </WidgetType>
Whenever I click "Save" the widget automatically changes itself to look like this:
<?xml version="1.0"?> <WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UiWidgetType"> <Name>Report Generator</Name> <Type>InvokeURL</Type> <Location /> <Extension> <Url>http://localhost/Scripts/FormGenerator.php</Url> <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty> <Target /> <LayerSet> <Layer>Testlayer</Layer> </LayerSet> <AdditionalParameter> <Key>Selected</Key> <Value>$CurrentSelection</Value> </AdditionalParameter> <AdditionalParameter> <Key>Selected</Key> <Value>$CurrentSelection</Value> </AdditionalParameter> <AdditionalParameter> <Key>Selected</Key> <Value>$CurrentSelection</Value> </AdditionalParameter> <AdditionalParameter> <Key>Selected</Key> <Value>$CurrentSelection</Value> </AdditionalParameter> <AdditionalParameter> <Key>Selected</Key> <Value>$CurrentSelection</Value> </AdditionalParameter> </Extension> <ImageUrl>images/icons.png</ImageUrl> <ImageClass>options</ImageClass> <Label>Report TEST</Label> <Tooltip>Report TEST</Tooltip> <StatusText /> <Disabled>false</Disabled> </WidgetType>
Note:
See TracTickets
for help on using tickets.
Fixed r6932