Bug 1018181

Summary: Version module should be reloaded on-the-fly when installing patch bundle
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Martiska <jmartisk>
Component: PatchingAssignee: Emanuel Muckenhuber <emuckenh>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: urgent Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: brian.stansberry, dandread, emuckenh, jason.greene, jawilson, jdoyle, kconner, msimka, myarboro, olubyans
Target Milestone: ER7Flags: emuckenh: needinfo+
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:19:13 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:
Embargoed:

Description Jan Martiska 2013-10-11 11:44:46 UTC
If a patch bundle contains patches which change the EAP's version string (updates the org.jboss.as.product module), the version module needs to be reloaded after the installation of every single patch in the bundle, because the following patch in the bundle might have the prerequisite "applies-to" version equal to the one from the previous patch. 

Without this, it is impossible to apply a patch bundle which updates GA->CP1->CP2, because during installation of the second (CP1-CP2) patch, AS will still think that its version is GA and will reject the patch.

Found against upstream, but reporting against EAP, because quite obviously, this bug will be present in ER6 when it is built. The currently latest, ER5, does not support patch bundles at all.

Comment 1 Dimitris Andreadis 2013-10-15 12:50:02 UTC
Emanuel, is there an associated upstream JIRA?

Comment 3 JBoss JIRA Server 2013-10-25 19:59:16 UTC
Emanuel Muckenhuber <emuckenh> updated the status of jira WFLY-2296 to Resolved

Comment 4 Jan Martiska 2013-11-01 10:58:47 UTC
Verified in ER7.