Bug 1144378

Summary: IllegalStateException while uploading new package to repository after deleting existing packages
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: ContentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WORKSFORME QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: low    
Version: JON 3.3.0CC: fbrychta, jshaughn, loleary, mfoley
Target Milestone: ---   
Target Release: JON 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-16 10:40:00 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:
Attachments:
Description Flags
illegal_state_exception
none
agent.log
none
server.log none

Description Armine Hovsepyan 2014-09-19 09:46:23 UTC
Created attachment 939161 [details]
illegal_state_exception

Description of problem:
Illegal State Exception while uploading new package to repository after deleting existing packages

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

How reproducible:
always

Steps to Reproduce:
1. Install test.war to EAP standalone server using bundle deployment
2. Create a 'test' repository, upload new version of test.war and subscribe to test.war application
3. Navigate to 'test' repository, select uploaded package click delete package
4. Click Upload new package button, select a package and click upload button

Actual results:
After step 3. package is not removed
After step 4. illegal state exception on page

Expected results:
after step 3. Not sure if 'at least one' package should be left or not.
After step 4. new package is uploaded without errors on page

Additional info:
screen-shot attached
server and agent logs attached

Comment 1 Armine Hovsepyan 2014-09-19 09:50:44 UTC
Created attachment 939173 [details]
agent.log

Comment 2 Armine Hovsepyan 2014-09-19 09:53:48 UTC
Created attachment 939177 [details]
server.log

Comment 6 Filip Brychta 2019-05-16 10:40:00 UTC
I can't reproduce in JON 3.3.12.ER01. After step 3 it's correctly removed and after step 4 it's correctly added. Closing.