Bug 1264830 - Offline EAP JDR attachment leads Internal server error
Summary: Offline EAP JDR attachment leads Internal server error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Red Hat Access
Version: JON 3.3.4
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ER01
: JON 3.3.5
Assignee: Michael Burman
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-21 10:22 UTC by Jeeva Kandasamy
Modified: 2016-06-13 11:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-01 15:33:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
support page (92.89 KB, image/png)
2015-09-21 10:22 UTC, Jeeva Kandasamy
no flags Details
server log (3.43 KB, text/plain)
2015-09-21 10:22 UTC, Jeeva Kandasamy
no flags Details

Description Jeeva Kandasamy 2015-09-21 10:22:05 UTC
Created attachment 1075453 [details]
support page

Description of problem:
When we select offline EAP to create a support case and include JDR report as attachment, when we submit throws internal server error and submitted successfully. But "Submit" is button still active which leads user to click one more time and creating another case with same information.

Version-Release number of selected component (if applicable):
JBoss Operations Network
Version : 3.3.0.GA Update 04
Build Number : b42d4f0:9e8659d
GWT Version : 2.5.0
SmartGWT Version : 3.0p

How reproducible:
always

Steps to Reproduce:
1. Add JBoss EAP in JON
2. Shutdown EAP(step#1), and make it offline
3. Open EAP (step#1) from servers page (Inventory-->Resources-->Servers)
4. On left side panel right click on EAP, you can see 'Open Support Case', click it
5. Enter some details, click on next, you can see "EAP JDR Report", click that attachment and click submit. You can see internal server error and same time new case created successfully message. however submit button not disable and we can click it one more time and it leads duplicate support case.

Actual results:
- Allow to create duplicate report.
- Shows "Internal server error" (but in server.log shows the error message clearly "Cannot obtain report, resource is not UP").

Expected results:
- Should not allow to submit one more time if support case submitted successfully.
- Error should be meaningful or should not allow to select offline resources.

Additional info:

Browser: Firefox 40.0.3
OS: Fedora 22, GNOME

screenshot and server.log are attached

Comment 1 Jeeva Kandasamy 2015-09-21 10:22:33 UTC
Created attachment 1075454 [details]
server log


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