Issue Type: Bug Bug
Assignee: Unassigned
Components: UnifiedPush-server
Created: 08/Nov/13 8:14 AM
Description:

Given:

I have an installation

{installationID} of variant {variantID}.

When:

I want to HTTP DELETE URL/rest/applications/{variantID}/installations/{installationID}

"

Expect:

Application is deleted.

Current behavior:

Deletion fails with

javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Referential integrity constraint violation: "FK50BF6BE1D969477E: PUBLIC.INSTALLATIONIMPL_CATEGORIES FOREIGN KEY(INSTALLATIONIMPL_ID) R
EFERENCES PUBLIC.INSTALLATIONIMPL(ID)"; SQL statement:
delete from InstallationImpl where id=? [23503-161]

This is caused by @ElementCollection in InstallationImpl. More details for instance here: http://stackoverflow.com/questions/3903202/how-to-do-bulk-delete-in-jpa-when-using-element-collections

Fix Versions: 0.9.0
Project: AeroGear Push
Priority: Blocker Blocker
Reporter: Karel Piwko
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira