• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • 4.1.0
    • None
    • None
    • None
    • 4.2 M11

      I have a subprogram into a program.
      I choose to delete this subprogram.
      There are multiple issues :

      1) A popup says that the subprogram will be removed from the parent program ( OK)
      2) The subprogram is well removed from parent ( OK) but the program tree is not refresh ( KO)
      3) The subprogram is not deleted, I can find it by search ( KO)
      4) There is no message to user but there is a NPE in server logs

      Can not dispatch request '2' : 'core-ui' 'client-call' '{role=org.ametys.core.ui.RelationsManager, id=org.ametys.cms.relations.setcontentmetadata, methodName=setContentMetatada, parameters=[null, {programContent://351af95e-4bb7-4778-95a4-d59d8e0a1e7a=null}, [], childProgramParts, [2]]}'
      Caused by: java.lang.NullPointerException
      	at org.ametys.cms.clientsideelement.relations.SetContentMetadataClientSideElement.setContentMetatada(SetContentMetadataClientSideElement.java:286)
      

          [ODF-1957] Unable to delete a subprogram nor course

          Same for course.
          Go to courses search, select a course and delete it.
          A popup ask for confirmation and advertise the course will be deleted from references

          Click ok.
          Nothing append, no user message, the course is not deleted

          Laurence Aumeunier added a comment - Same for course. Go to courses search, select a course and delete it. A popup ask for confirmation and advertise the course will be deleted from references Click ok. Nothing append, no user message, the course is not deleted

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: