Bug 1008326 - Unclear error message when trying to rollback non-existent patch
Summary: Unclear error message when trying to rollback non-existent patch
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Patching
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: EAP 6.4.0
Assignee: Brian Stansberry
QA Contact: Jan Martiska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-16 07:24 UTC by Jan Martiska
Modified: 2019-08-19 12:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:49:31 UTC
Type: Bug


Attachments (Terms of Use)

Description Jan Martiska 2013-09-16 07:24:30 UTC
[disconnected /] patch rollback --patch-id=asdfadsf --reset-configuration=false
JBAS016848: Cannot rollback patch (asdfadsf)

When the user tries to rollback an unknown patch ID, the message should be made clearer to say that the patch does not exist (is not installed).

Comment 1 Shaun Appleton 2013-09-25 09:26:13 UTC
To assist in patch identification it would be better if the description of the patch was included as well.

For example

[disconnected /] patch rollback --patch-id=asdfadsf --reset-configuration=false
JBAS016848: Cannot rollback patch (asdfadsf) EJB3 fix see JBPAPP-12345

is better than 

[disconnected /] patch rollback --patch-id=asdfadsf --reset-configuration=false
JBAS016848: Cannot rollback patch (asdfadsf)

Alternatively, 
Make available a list of codes (in the release notes?) so users can tell easily which patch failed.

ie.

 patch code   description
   asdfadsf   EJB3 fix see JBPAPP-12345
   bsdfadsg   HQ fix for durable topics see JBPAPP-98765
...

Comment 7 Dimitris Andreadis 2015-02-03 21:03:19 UTC
re-assign Emanuel's assigned bugs to Brian.


Note You need to log in before you can comment on or make changes to this bug.