Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#680 closed defect (worksforme)

Error saving Fusion layout..

Reported by: andrewd Owned by: ksgeograf
Priority: high Milestone:
Component: Maestro Version:
Severity: critical Keywords:
Cc: External ID:

Description

I get an error in both Studio and Maestro on this one....I'm trying to save an InvokeURL widget with the following parameter (one of many):

<AdditionalParameter>

<Key>Additional</Key> <Value>ChemTable=[General Chemistry]&ChemField=[Alkalinity]</Value>

</AdditionalParameter>

Maestro gives an error...The error is because of the "&" sign. If I take that out, all works fine (except, of course, my widget!). Is there some other way that I should be entering this, or is this a bug as a result of the way Fusion is handling something?

Change History (4)

comment:1 by chrisclaydon, 16 years ago

Each "Additional Parameter" represents a single URL parameter (KEY=VALUE). I think you may need to separate the parameters to achieve your intended URL request. Perhaps something like this:

    <AdditionalParameter>
      <Key>ChemTable</Key>
      <Value>[General Chemistry]</Value>
    </AdditionalParameter>
    <AdditionalParameter>
      <Key>ChemField</Key>
      <Value>[Alkalinity]</Value>
    </AdditionalParameter>

comment:2 by andrewd, 16 years ago

Ah - yes I thought about that once I left work for the day....the other way had worked in the old WebLayout format (for AJAX and DWF viewers), but I suppose this would be a good workaround. Sorry about the false alarm!

comment:3 by ksgeograf, 16 years ago

Resolution: worksforme
Status: newclosed
Version: 2.0.1

Alright, I'll close this ticket then.

comment:4 by andrewd, 16 years ago

I just wanted to publish the solution to this...Since WebLayouts supported the "&" sign in parameters, I thought I'd check the XML for an existing WebLayout of mine to see how it was stored. It's stored as "&amp;" in the XML. So the solution (which works MUCH better for my case - the other way would involve some extreme php script revising) would be to simply type in "&amp;" instead of "&". I'd tried "&amp", but that didn't work - you need the semi-colon.

So - to sum up...in Fusion widgets, use "&amp;" instead of "&".

Note: See TracTickets for help on using tickets.