Bug 1074623

Summary: Applying patch via web console fails even though it is applied
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Radim Hatlapatka <rhatlapa>
Component: Web ConsoleAssignee: Harald Pehl <hpehl>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Cechacek <jcechace>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.3.0CC: brian.stansberry, hbraun, jkudrnac, rhatlapa
Target Milestone: DR5   
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:
Last Closed: 2014-06-28 15:30:26 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:
Bug Depends On: 1074493    
Bug Blocks:    
Attachments:
Description Flags
Dummy module
none
Patch for the dummy module none

Description Radim Hatlapatka 2014-03-10 16:37:27 UTC
Description of problem:
When applying patch via EAP web console, it fails with following error message [1]



Version-Release number of selected component (if applicable): EAP 6.2.0.DR2


How reproducible: always


Steps to Reproduce:
1. create simple patch
2. start eap and in management console load and apply patch (http://localhost:9990/console/App.html#patching)
3. when trying to apply the patch the [1] error occurs
4. you can verify via CLI patch info command that the patch was actually applied and after server restart you see it also in the console


Actual results: error message [1]


Expected results: no error message, just providing the same window as during rollback noting that restart is required as is done during rollback


Additional info:

[1]

Comment 1 Radim Hatlapatka 2014-03-11 11:20:44 UTC
I have forgot the error message [1], giving now:

[1]
Error parsing JSON: SyntaxError: syntax error

Response from server:

<pre>{"outcome" : "success", "response-headers" : {"operation-requires-restart" : true, "process-state" : "restart-required"}}</pre>

Comment 2 Harald Pehl 2014-03-11 11:56:45 UTC
Could you please attach the patch file

Comment 3 Radim Hatlapatka 2014-03-11 12:13:21 UTC
Created attachment 873097 [details]
Dummy module

Module which I am patching by my patch

Comment 4 Radim Hatlapatka 2014-03-11 12:14:21 UTC
Created attachment 873099 [details]
Patch for the dummy module

Patch for the dummy module (there is only change in Readme file)

Comment 5 Radim Hatlapatka 2014-03-21 12:21:57 UTC
Verified with EAP 6.3.0.DR5