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

Syllabus Bulk Add not working

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 19.0, 20.0 [Tentative]
    • Component/s: Syllabus
    • Labels:
      None
    • 19 status:
      Resolved
    • Test Plan:
      Hide

      Go to syllbus

      Click Bulk Add

      Add a Title and any number of items

      Click Add

      Actual: Screen refreshes and nothing happens, errors in logs

      Expected: Items added

      Show
      Go to syllbus Click Bulk Add Add a Title and any number of items Click Add Actual: Screen refreshes and nothing happens, errors in logs Expected: Items added

      Description

      When using bulk add in syllabus it doesn't work and this error is printed to the logs. See test plan. This looks like regular add works via SAK-40245.

      20-Jul-2018 10:07:10.733 INFO [http-nio-8080-exec-9] org.sakaiproject.tool.syllabus.SyllabusTool.processEditBulk org.sakaiproject.tool.syllabus.SyllabusTool@41bb75f2.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
      Jul 20, 2018 10:07:10 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

          1. published_bulk_syllabus.gif
            11 kB
            Andrea Schmidt
          2. saved_bulk_syllabus.gif
            12 kB
            Andrea Schmidt

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code