Bug 1011460

Summary: Wrong CLI command for rolling back a patch
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Martiska <jmartisk>
Component: DocumentationAssignee: Misha H. Ali <mhusnain>
Status: CLOSED CURRENTRELEASE QA Contact: Russell Dickenson <rdickens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: lcosti, smumford, tkonishi
Target Milestone: GAKeywords: Documentation, EasyFix, Triaged
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 14873, Installation Guide-6.2-1 Build Date: 18-09-2013 14:19:43 Topic ID: 21470-537508 [Latest]
Last Closed: 2014-08-06 14:36:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan Martiska 2013-09-24 10:46:43 UTC
in Procedure 3.14. Rollback a patch from a JBoss EAP 6 server instance using the patch command:

The CLI command
patch rollback PATCH_ID --reset-configuration=TRUE
is wrong.

it should be
patch rollback --patch-id PATCH_ID --reset-configuration=TRUE

Comment 1 Jan Martiska 2013-09-24 10:56:32 UTC
It currently works both ways, but the --patch-id argument was meant to be used and not requiring it is probably a bug in the patching implementation and is in discrepancy with the description provided by 'patch --help' command. So I think we should use the version with --patch-id in the documentation.

Comment 3 Scott Mumford 2014-02-26 05:13:57 UTC
Moving to ON_QA.

The changes should be available for review on the documentation stage within an hour or so from this comment.

http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/

Comment 4 Scott Mumford 2014-02-26 05:15:51 UTC
Moving to ON_QA.

The changes should be available for review on the documentation stage within an hour or so from this comment.

http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/

Comment 5 Jan Martiska 2014-02-26 09:52:18 UTC
Verified, thanks.

Comment 6 Lucas Costi 2014-04-01 04:30:59 UTC
In addition to this, a minor change has been made to make the command as:
patch rollback --patch-id=PATCH_ID --reset-configuration=TRUE
as in the 'patch --help'

Comment 7 Lucas Costi 2014-04-01 04:32:00 UTC
*** Bug 1082538 has been marked as a duplicate of this bug. ***