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

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
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

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