← Back to team overview

dhis2-devs team mailing list archive

[Bug 799620] [NEW] Cascade exception when deleting data element category combo

 

Public bug reported:

When deleting a data element category combo, an exception is thrown.

Caused by: org.springframework.dao.InvalidDataAccessApiUsageException:
deleted object would be re-saved by cascade (remove deleted object from
associations):
[org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697];
nested exception is org.hibernate.ObjectDeletedException: deleted object
would be re-saved by cascade (remove deleted object from associations):
[org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697]

** Affects: dhis2
     Importance: Undecided
         Status: New

** Description changed:

- When delete a data element category combo, an exception is thrown.
+ When deleting a data element category combo, an exception is thrown.
  
- 
- Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697]
+ Caused by: org.springframework.dao.InvalidDataAccessApiUsageException:
+ deleted object would be re-saved by cascade (remove deleted object from
+ associations):
+ [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697];
+ nested exception is org.hibernate.ObjectDeletedException: deleted object
+ would be re-saved by cascade (remove deleted object from associations):
+ [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697]

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/799620

Title:
  Cascade exception when deleting data element category combo

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  When deleting a data element category combo, an exception is thrown.

  Caused by: org.springframework.dao.InvalidDataAccessApiUsageException:
  deleted object would be re-saved by cascade (remove deleted object
  from associations):
  [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697];
  nested exception is org.hibernate.ObjectDeletedException: deleted
  object would be re-saved by cascade (remove deleted object from
  associations):
  [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1148697]

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/799620/+subscriptions


Follow ups

References