← Back to team overview

dhis2-devs team mailing list archive

[Bug 910000] Re: UserGroup: While trying to delete usergroup getting exception

 

** Changed in: dhis2
       Status: New => Fix Committed

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

Title:
  UserGroup: While trying to delete usergroup getting exception

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  Trying to delete usergroup, got exception, while debugging found that
  the same usergroup is assigned to 'Completeness notification
  recipients' in system setting.

  * ERROR 11:44:58,744 Cannot delete or update a parent row: a foreign key constra
  int fails (`dhis26/configuration`, CONSTRAINT `fk_configuration_completeness_rec
  ipients` FOREIGN KEY (`completenessrecipientsid`) REFERENCES `usergroup` (`userg
  roupid`)) (JDBCExceptionReporter.java ["http-apr-9090"-exec-3])
  * ERROR 11:44:58,778 Error while executing action (ExceptionInterceptor.java ["h
  ttp-apr-9090"-exec-3])

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


References