Bug 603970 - Double-submitting produces NonUniqueObjectException
Double-submitting produces NonUniqueObjectException
Status: CLOSED WONTFIX
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
1.3.1
All Linux
low Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Corey Welton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-14 23:13 EDT by Ondřej Žižka
Modified: 2010-09-24 09:07 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-09-24 09:07:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screenshot (37.73 KB, image/png)
2010-06-14 23:15 EDT, Ondřej Žižka
no flags Details

  None (edit)
Description Ondřej Žižka 2010-06-14 23:13:13 EDT
STR:

0) Install JON 2.3.1
1) Install some EAP & inventorize it
2) Unsubscribe the JBoss Patch Channel
3) Subscribe it back, but click the ADD SUBSCRIPTIONS button twice in succession.
4) You'll get this error message:

-----------------------------------
Failed to subscribe one or more channels to resource Cause: javax.ejb.EJBException:javax.persistence.PersistenceException: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.rhq.core.domain.content.ResourceChannel#ResourceChannelPK: resource=[Resource[id=10003, type=JBossAS Server, key=/home/brq/ozizka/work/dist-diff/jboss-eap-noauth-5.0.1/server/all, name=jawa27.mw.lab.eng.brq.redhat.com JBoss EAP 5.0.1 all (0.0.0.0:1099), parent=jawa27.mw.lab.eng.brq.redhat.com, version=5.0.1]]; channel=[Channel: id=[10001], name=[Stage CSP Channel]]] -> javax.persistence.PersistenceException:org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.rhq.core.domain.content.ResourceChannel#ResourceChannelPK: resource=[Resource[id=10003, type=JBossAS Server, key=/home/brq/ozizka/work/dist-diff/jboss-eap-noauth-5.0.1/server/all, name=jawa27.mw.lab.eng.brq.redhat.com JBoss EAP 5.0.1 all (0.0.0.0:1099), parent=jawa27.mw.lab.eng.brq.redhat.com, version=5.0.1]]; channel=[Channel: id=[10001], name=[Stage CSP Channel]]] -> org.hibernate.NonUniqueObjectException:a different object with the same identifier value was already associated with the session: [org.rhq.core.domain.content.ResourceChannel#ResourceChannelPK: resource=[Resource[id=10003, type=JBossAS Server, key=/home/brq/ozizka/work/dist-diff/jboss-eap-noauth-5.0.1/server/all, name=jawa27.mw.lab.eng.brq.redhat.com JBoss EAP 5.0.1 all (0.0.0.0:1099), parent=jawa27.mw.lab.eng.brq.redhat.com, version=5.0.1]]; channel=[Channel: id=[10001], name=[Stage CSP Channel]]]
-----------------------------------
Comment 1 Ondřej Žižka 2010-06-14 23:15:44 EDT
Created attachment 424023 [details]
Screenshot
Comment 2 Corey Welton 2010-09-24 09:07:39 EDT
closing per gwt effort

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