Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-1159

Exception during orgunit deletion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.3, 2.4.1, 2.5.0
    • None
    • None
    • None

      Delete orgUnit referenced by a subprogram.
      Then you get an exception :
      java.lang.ClassCastException: org.ametys.odf.program.SubProgram cannot be cast to org.ametys.odf.program.Program
      at org.ametys.odf.observation.UpdateReferenceOnOrgUnitDeletionObserver.removeReferencesFromAbstractPrograms(UpdateReferenceOnOrgUnitDeletionObserver.java:124)

      And referrencedOrgUnit are not updated.

            laurence Laurence Aumeunier
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: