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

Cannot create Syllabus items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 19.0
    • Fix Version/s: None
    • Component/s: Rubrics, Syllabus
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Cannot create syllabus items, looks similar to SAK-40499 and other issues with EntityManager and flush operations.

      Add in bulk works but you cannot edit, looks like the same error:

      24-Aug-2018 06:47:05.638 INFO [http-nio-20013-exec-7] org.sakaiproject.tool.syllabus.SyllabusTool.processEditBulk org.sakaiproject.tool.syllabus.SyllabusTool@3204ef5d.processEditBulkPost in SyllabusTool: org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl; nested exception is org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl
      Aug 24, 2018 6:47:05 AM com.sun.faces.lifecycle.RenderResponsePhase execute
      INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
      sourceId=null[severity=(ERROR 2), summary=(server error occurred org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl; nested exception is org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl), detail=(server error occurred org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl; nested exception is org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl)]
      24-Aug-2018 06:47:08.337 INFO [http-nio-20013-exec-3] org.sakaiproject.tool.syllabus.SyllabusTool.processEditBulk org.sakaiproject.tool.syllabus.SyllabusTool@3204ef5d.processEditBulkPost in SyllabusTool: org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl; nested exception is org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl
      Aug 24, 2018 6:47:08 AM com.sun.faces.lifecycle.RenderResponsePhase execute
      INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
      sourceId=null[severity=(ERROR 2), summary=(server error occurred org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl; nested exception is org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl), detail=(server error occurred org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl; nested exception is org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : org.sakaiproject.component.app.syllabus.SyllabusDataImpl.syllabusItem -> org.sakaiproject.component.app.syllabus.SyllabusItemImpl)]
      

       

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  farreri Miguel Pellicer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code