Bug 1074623 - Applying patch via web console fails even though it is applied
Summary: Applying patch via web console fails even though it is applied
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Console
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR5
: EAP 6.3.0
Assignee: Harald Pehl
QA Contact: Jakub Cechacek
Russell Dickenson
URL:
Whiteboard:
Depends On: 1074493
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-10 16:37 UTC by Radim Hatlapatka
Modified: 2015-02-01 23:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-28 15:30:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Dummy module (1.67 KB, application/zip)
2014-03-11 12:13 UTC, Radim Hatlapatka
no flags Details
Patch for the dummy module (2.71 KB, application/zip)
2014-03-11 12:14 UTC, Radim Hatlapatka
no flags Details

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


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