Petals ESB Container

The error message of Ant tasks managing component lifecycle is not clear when the component identifier is empty

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.1.1
  • Fix Version/s: 3.1.2, 4.0.0
  • Component/s: Ant tasks
  • Security Level: Public
  • Description:
    Hide

    When the Ant task 'jbi-start-component', 'jbi-stop-component', 'jbi-shutdown-component' or 'jbi-uninstall-component' is used with an empty component identifier, the error message is not clear: "componentName must not be empty".
    Moreover the error is detected by the container. Such a error type should be detected by the Ant task itself without invoking the container.

    Add a check at Ant task level and replace the error message by something like: "Empty attribute 'name'"

    Show
    When the Ant task 'jbi-start-component', 'jbi-stop-component', 'jbi-shutdown-component' or 'jbi-uninstall-component' is used with an empty component identifier, the error message is not clear: "componentName must not be empty". Moreover the error is detected by the container. Such a error type should be detected by the Ant task itself without invoking the container. Add a check at Ant task level and replace the error message by something like: "Empty attribute 'name'"
  • Environment:
    -

Activity

Christophe DENEUX made changes - Wed, 8 Jun 2011 - 17:21:18 +0200
Field Original Value New Value
Issue Type Bug [ 1 ] Improvement Request [ 4 ]
Priority Minor [ 4 ]
Description When the Ant task 'jbi-start-component', 'jbi-stop-component', 'jbi-shutdown-component' or 'jbi-uninstall-component' is used with an empty component identifier, the error message is not clear: "componentName must not be empty".

Replace it by something like: "Empty attribute 'name'"
When the Ant task 'jbi-start-component', 'jbi-stop-component', 'jbi-shutdown-component' or 'jbi-uninstall-component' is used with an empty component identifier, the error message is not clear: "componentName must not be empty".
Moreover the error is detected by the container. Such a error type should be detected by the Ant task itself without invoking the container.

Add a check at Ant task level and replace the error message by something like: "Empty attribute 'name'"
Christophe DENEUX made changes - Wed, 8 Jun 2011 - 17:33:49 +0200
Status New [ 10000 ] Open [ 10002 ]
Assignee Roland Naudin [ rnaudin ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Wed, 8 Jun 2011 - 17:33:52 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Wed, 8 Jun 2011 - 17:36:34 +0200

Fixed in branch petals-entreprise-3.1.x according to the description

Show
Christophe DENEUX added a comment - Wed, 8 Jun 2011 - 17:36:34 +0200 Fixed in branch petals-entreprise-3.1.x according to the description
Christophe DENEUX made changes - Wed, 8 Jun 2011 - 17:36:34 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 3.1.2 [ 10156 ]
Resolution Fixed [ 1 ]
Hide
Christophe DENEUX added a comment - Wed, 8 Jun 2011 - 17:36:46 +0200

To merge in trunk

Show
Christophe DENEUX added a comment - Wed, 8 Jun 2011 - 17:36:46 +0200 To merge in trunk
Christophe DENEUX made changes - Wed, 8 Jun 2011 - 17:36:46 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Fri, 10 Jun 2011 - 16:19:42 +0200
Component/s Ant tasks [ 10202 ]
Component/s Installation/Deployment [ 10041 ]
Mathieu Carrolle made changes - Wed, 14 Sep 2011 - 15:25:49 +0200
Assignee Christophe DENEUX [ cdeneux ] Mathieu Carrolle [ mcarrolle ]
Mathieu Carrolle made changes - Wed, 14 Sep 2011 - 15:25:52 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Mathieu Carrolle made changes - Wed, 14 Sep 2011 - 16:37:15 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.0.0 [ 10108 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
15m 5s
1
Christophe DENEUX
Wed, 8 Jun 2011 - 17:33:49 +0200
Open Open In Progress In Progress
3s
1
Christophe DENEUX
Wed, 8 Jun 2011 - 17:33:52 +0200
In Progress In Progress Resolved Resolved
2m 42s
1
Christophe DENEUX
Wed, 8 Jun 2011 - 17:36:34 +0200
Resolved Resolved Open Open
12s
1
Christophe DENEUX
Wed, 8 Jun 2011 - 17:36:46 +0200
Open Open In Progress In Progress
97d 21h 49m
1
Mathieu Carrolle
Wed, 14 Sep 2011 - 15:25:52 +0200
In Progress In Progress Resolved Resolved
1h 11m
1
Mathieu Carrolle
Wed, 14 Sep 2011 - 16:37:15 +0200

People

Dates

  • Created:
    Wed, 8 Jun 2011 - 17:18:44 +0200
    Updated:
    Wed, 14 Sep 2011 - 16:37:15 +0200
    Resolved:
    Wed, 14 Sep 2011 - 16:37:15 +0200