← Back to team overview

dhis2-devs team mailing list archive

[Bug 1202705] [NEW] Empty categories hinder resource table generation

 

Public bug reported:

I had an empty category. When trying to generate resource tables, I got
this:

* ERROR 2013-07-18 09:46:35,687 Error while executing action (ExceptionInterceptor.java ["http-bio-80"-exec-160])
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1540]
        at org.hibernate.internal.SessionFactoryImpl$1$1.handleEntityNotFound(SessionFactoryImpl.java:244)

Also, since the empty category was also part of a category_combo, I was
unable to delete it, but there was no explanation in the GUI, just a
foreign key constraint violation in the log.

** Affects: dhis2
     Importance: Undecided
         Status: New

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

Title:
  Empty categories hinder resource table generation

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  I had an empty category. When trying to generate resource tables, I
  got this:

  * ERROR 2013-07-18 09:46:35,687 Error while executing action (ExceptionInterceptor.java ["http-bio-80"-exec-160])
  org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.hisp.dhis.dataelement.DataElementCategoryOptionCombo#1540]
          at org.hibernate.internal.SessionFactoryImpl$1$1.handleEntityNotFound(SessionFactoryImpl.java:244)

  Also, since the empty category was also part of a category_combo, I
  was unable to delete it, but there was no explanation in the GUI, just
  a foreign key constraint violation in the log.

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


Follow ups

References