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

Cannot delete imported matrix until first use

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: branch
    • Fix Version/s: None
    • Component/s: OSP: Wizards - Matrix
    • Labels:
      None
    • Environment:
      qa2-osp.sakaiproject.org:8084 RC_02a_GMT

      Description

      If you import a matrix and try to delete it before it has been used, a stack trace is thrown. You can be in either preview mode or have published the matrix when you first use the matrix – after that you can delete it.

      To reproduce:

      Import matrix (Matrices > Import >Choose file... > Select > Continue > Import > Save Changes)
      Return to list
      Delete

      Note: This only seems reproduceable on qa2-osp (DB restored from snapshot).

      Relevant part of the stack dump seems to be:
      caused by: java.lang.NullPointerException at org.sakaiproject.metaobj.shared.IdType.nullSafeGet(IdType.java:77) at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:105) at org.hibernate.type.ManyToOneType.hydrate(ManyToOneType.java:103) at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2096) at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1380) at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1308) at org.hibernate.loader.Loader.getRow(Loader.java:1206) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580) at org.hibernate.loader.Loader.doQuery(Loader.java:701)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  chmaurer@iupui.edu Chris Maurer
                  Reporter:
                  ericaack Erica Ackerman (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration