Petals Studio

CDK elements are not always sorted correctly in the JBI editor

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.3.0
  • Fix Version/s: 1.3.1
  • Component/s: Petals Tools
  • Security Level: Public
  • Description:
    Hide

    When modifying a generated jbi.xml file with the JBI editor, the CDK elements are not always written in the right order.

    • SOAP Providers see the timeout element being inserted in the last position instead of the first one.
    • SOAP Consumers are handled correctly.

    This need to be fixed, and the CDK element ordering must be guaranteed.
    Otherwise, deployments in Petals will fail due to invalid jbi.xml files.

    Show
    When modifying a generated jbi.xml file with the JBI editor, the CDK elements are not always written in the right order.
    • SOAP Providers see the timeout element being inserted in the last position instead of the first one.
    • SOAP Consumers are handled correctly.
    This need to be fixed, and the CDK element ordering must be guaranteed. Otherwise, deployments in Petals will fail due to invalid jbi.xml files.
  • Environment:
    -

Activity

Vincent Zurczak made changes - Fri, 24 Feb 2012 - 09:51:08 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ]
Vincent Zurczak made changes - Fri, 24 Feb 2012 - 09:51:12 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Vincent Zurczak added a comment - Fri, 24 Feb 2012 - 10:04:32 +0100

This can be fixed by preventing a feature name from being inserted twice.
However, if we do the following test, the JBI editor fails completely.

  • Open the jbi.xml file in the source editor. Remove a CDK element (e.g. forward-message-properties).
  • Open the jbi.xml file in the form editor. Set a value for the removed element.
  • Look at the sources now.

The new CDK element has been inserted at the end of the jbi.xml, after the component specific elements.
This issue requires a quick fix and requires a new version of the studio to be released as soon as possible.

Show
Vincent Zurczak added a comment - Fri, 24 Feb 2012 - 10:04:32 +0100 This can be fixed by preventing a feature name from being inserted twice. However, if we do the following test, the JBI editor fails completely.
  • Open the jbi.xml file in the source editor. Remove a CDK element (e.g. forward-message-properties).
  • Open the jbi.xml file in the form editor. Set a value for the removed element.
  • Look at the sources now.
The new CDK element has been inserted at the end of the jbi.xml, after the component specific elements. This issue requires a quick fix and requires a new version of the studio to be released as soon as possible.
Vincent Zurczak made changes - Fri, 24 Feb 2012 - 17:46:51 +0100
Status In Progress [ 10003 ] Open [ 10002 ]
Vincent Zurczak made changes - Mon, 27 Feb 2012 - 11:00:41 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 11:01:10 +0100

Fixed.
Hack : EMF to DOM. Then DOM sorting. Then DOM to file.

Show
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 11:01:10 +0100 Fixed. Hack : EMF to DOM. Then DOM sorting. Then DOM to file.
Vincent Zurczak made changes - Mon, 27 Feb 2012 - 11:01:10 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.3.1 [ 10322 ]
Resolution Fixed [ 1 ]
Vincent Zurczak made changes - Mon, 27 Feb 2012 - 11:01:15 +0100
Status Resolved [ 10004 ] Closed [ 10005 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
9m 33s
1
Vincent Zurczak
Fri, 24 Feb 2012 - 09:51:08 +0100
Open Open In Progress In Progress
4s
1
Vincent Zurczak
Fri, 24 Feb 2012 - 09:51:12 +0100
In Progress In Progress Open Open
7h 55m
1
Vincent Zurczak
Fri, 24 Feb 2012 - 17:46:51 +0100
Open Open In Progress In Progress
2d 17h 13m
1
Vincent Zurczak
Mon, 27 Feb 2012 - 11:00:41 +0100
In Progress In Progress Resolved Resolved
29s
1
Vincent Zurczak
Mon, 27 Feb 2012 - 11:01:10 +0100
Resolved Resolved Closed Closed
5s
1
Vincent Zurczak
Mon, 27 Feb 2012 - 11:01:15 +0100

People

Dates

  • Created:
    Fri, 24 Feb 2012 - 09:41:35 +0100
    Updated:
    Mon, 27 Feb 2012 - 11:01:15 +0100
    Resolved:
    Mon, 27 Feb 2012 - 11:01:10 +0100