#13 URC does not escape {} characters, which breaks simple workflow export

7.1.0
closed
3
Bug
2014-12-05
2013-08-02
Timo Strunk
No

The export of URC Workflows to submittable swf files does not escape the { } characters.

To reproduce:
Generate a workflow, which contains at least one c9m:${WORKFLOW_ID} stagein and out file. Export the file using the URC and selecting submittable workflow.

Open the generated file in a text editor.

Result:
The URIs look like this:
<jsdl:URI>c9m:$%7BWORKFLOW_ID%7D/Script1/stderr</jsdl:URI>
When they should look like this:
<jsdl:URI>c9m:${WORKFLOW_ID}/Script1/stderr</jsdl:URI>

Tested with URC 6.4.1 and URC 6.6.0. only on Linux (Arch and Ubuntu), not on Windows.

Remark:
The files can for example be fixed with sed:
sed -i -e 's/%7B/{/g' -e 's/%7D/}/g' yourfile.swf.

Discussion

  • Timo Strunk

    Timo Strunk - 2013-08-02

    Sorry about the title, I was just typing it. Title should have been:
    "URC does not escape {} characters, which breaks simple workflow export"

     
  • Bjoern Hagemeier

    • labels: wfeditor --> wfeditor, URC
    • summary: URC d --> URC does not escape {} characters, which breaks simple workflow export
     
  • Bjoern Hagemeier

    • Affected Versions: --> 6.6
     
  • Bernd Schuller

    Bernd Schuller - 2013-12-13
    • assigned_to: Bernd Schuller
    • Fixed in: -->
    • Milestone: UNICORE6.6 --> UNICORE7.0
     
  • Bjoern Hagemeier

    Ticket moved from /p/unicore/bugs/649/

    Can't be converted:

    • _fixed_in:
    • _affected_versions: 6.6
    • _priority: 1
     
  • Bjoern Hagemeier

    • Type: --> Bug
    • Milestone: UNICORE7.0 --> 7.1.0
     
  • Bjoern Hagemeier

    • status: open --> closed
    • Priority: --> 3
     
  • Bjoern Hagemeier

    Works for me using URC 7.0.1. I also cannot verify this behavior with 6.6.0. Export and workflow execution via ucc works just fine.

     

Log in to post a comment.