Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40502

Cannot update/delete postem items

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 19.0
    • Component/s: Post'Em, Rubrics
    • Labels:
      None
    • Test Plan:
      1. Create a postem item disabling the release to students option
      2. Edit it and enable the option. After saving an error will be displayed
      3. Try to delete the item, same error.

      Description

      Looks very similar to other Rubrics issues and the EntityManager.

      Caused by: java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.component.app.postem.data.StudentGradesImpl#1
      	at org.hibernate.jpa.event.internal.core.JpaDeleteEventListener.performDetachedEntityDeletionCheck(JpaDeleteEventListener.java:69)
      	at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:106)
      	at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73)
      	at org.hibernate.internal.SessionImpl.fireDelete(SessionImpl.java:956)
      	at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:896)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  farreri Miguel Pellicer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code