Petals Studio

CDK timeout is not displayed correctly in the JBI editor

Details

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

    In the JBI editors, spinners always have 0 as the initial value, while the real value is not.
    Example: the CDK timeout.

    Notice that the spinner sets the right value in the model.
    It is only a problem of "model to UI" issue (UI to model works fine).

  • Environment:
    Windows 7

Activity

Vincent Zurczak made changes - Mon, 27 Feb 2012 - 11:03:36 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Vincent Zurczak made changes - Mon, 27 Feb 2012 - 11:03:39 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 12:03:22 +0100

After investigation, it seems it works for some spinners and not for others.
This bug is in fact due to an ambiguity in some models. The CDK timeout element is described twice: one for providers and one for consumers. Sometimes, the data-binding finds the provides first while it has a consumes in the model. And vice-versa.

A solution would consist in factorizing the common elements. But this has an impact on the elements insertion order.
Another solution is to check the parent (provides or consumes) in the intialization command.

Show
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 12:03:22 +0100 After investigation, it seems it works for some spinners and not for others. This bug is in fact due to an ambiguity in some models. The CDK timeout element is described twice: one for providers and one for consumers. Sometimes, the data-binding finds the provides first while it has a consumes in the model. And vice-versa. A solution would consist in factorizing the common elements. But this has an impact on the elements insertion order. Another solution is to check the parent (provides or consumes) in the intialization command.
Hide
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 12:49:20 +0100

OK. In fact, this is not that at all.
The CDK timeout was in fact not the right one bcause the UI was generated for the consume timeout. It could not work.
The CDK's UI generation was updated in consequence.

Show
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 12:49:20 +0100 OK. In fact, this is not that at all. The CDK timeout was in fact not the right one bcause the UI was generated for the consume timeout. It could not work. The CDK's UI generation was updated in consequence.
Vincent Zurczak made changes - Mon, 27 Feb 2012 - 12:53:28 +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 - 12:53:32 +0100
Status Resolved [ 10004 ] Closed [ 10005 ]
Vincent Zurczak made changes - Mon, 27 Feb 2012 - 13:00:05 +0100
Summary Integer values are not set in spinner (JBI editor) CDK timeout is not displayed correctly in the JBI editor
Hide
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 13:13:25 +0100

Last comment I hope.
In fact, the first analysis was good. But incomplete. There were two errors, fixed now.

Show
Vincent Zurczak added a comment - Mon, 27 Feb 2012 - 13:13:25 +0100 Last comment I hope. In fact, the first analysis was good. But incomplete. There were two errors, fixed now.
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
15m 57s
1
Vincent Zurczak
Mon, 27 Feb 2012 - 11:03:36 +0100
Open Open In Progress In Progress
3s
1
Vincent Zurczak
Mon, 27 Feb 2012 - 11:03:39 +0100
In Progress In Progress Resolved Resolved
1h 49m
1
Vincent Zurczak
Mon, 27 Feb 2012 - 12:53:28 +0100
Resolved Resolved Closed Closed
4s
1
Vincent Zurczak
Mon, 27 Feb 2012 - 12:53:32 +0100

People

Dates

  • Created:
    Mon, 27 Feb 2012 - 10:47:39 +0100
    Updated:
    Mon, 27 Feb 2012 - 13:13:25 +0100
    Resolved:
    Mon, 27 Feb 2012 - 12:53:28 +0100