Bug 1446458 - [GSS](6.4.z) Patching EAP 6.x returns only "Patching Exception" rather than providing the actual reason for failure
Summary: [GSS](6.4.z) Patching EAP 6.x returns only "Patching Exception" rather than p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI, Patching
Version: 6.4.14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.16
Assignee: Radovan STANCEL
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks: eap6416-payload
TreeView+ depends on / blocked
 
Reported: 2017-04-28 05:53 UTC by Harshada
Modified: 2020-07-16 09:29 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-06-22 09:20:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3028801 0 None None None 2017-05-10 07:25:00 UTC

Description Harshada 2017-04-28 05:53:02 UTC
Description of problem: If you try to apply a patch on a wrong or unexpected version of EAP 6.4, the CLI command returns with only "Patching Exception" message rather than a detailed or verbose message regarding what version was expected and what version was encountered.  For example, if you try to apply CP09 on EAP 6.4.9, it returns with just "Patching Exception " rather than "Patch does not apply - expected (a.b.c.GA), but was (x.y.z.GA)"


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1.Take a Jboss EAP 6.4.9 or higher installation.
2.Via CLI, try to apply CP09 or any CP version lower than the actual EAP 6.4.x version


Actual results:
Patching Exception

Expected results:
JBAS016840: Patch does not apply - expected (6.4.x.GA), but was (6.4.y.GA) 


Additional info: A more detailed information regarding the failure would be convenient than just the Patching Exception

Comment 9 Jiří Bílek 2017-06-09 10:07:43 UTC
Exception on EAP 6.4.15 and older:
patching exception

Exception on EAP 6.4.16.CP.CR1:
JBAS016952: The patch does not contain metadata for currently installed EAP version 6.4.16.GA

Verified with EAP 6.4.16.CP.CR1

Comment 10 Petr Penicka 2017-06-22 09:20:37 UTC
Released on June 20 2017 as part of the EAP 6.4.16 maintenance release.


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