Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-4973

Exception on importing LD with a grouping

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0, 4.0
    • Fix Version/s: 5.0, 4.0
    • Component/s: Author
    • Labels:
      None

      Description

      Try to import the following sequence
      https://lamscommunity.org/lamscentral/sequence?seq_id=1008647

      You'll get

      Caused by: org.lamsfoundation.lams.learningdesign.service.ImportToolContentException: org.springframework.orm.hibernate5.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [insert into lams_grouping (grouping_ui_id, max_number_of_groups, grouping_type_id) values (?, ?, 2)]; SQL state [null]; error code [0]; could not prepare statement; nested exception is org.hibernate.exception.GenericJDBCException: could not prepare statement
      at deployment.lams.ear//org.lamsfoundation.lams.learningdesign.service.ExportToolContentService.importLearningDesign(ExportToolContentService.java:847)
      at deployment.lams.ear//org.lamsfoundation.lams.learningdesign.service.ExportToolContentService.importLearningDesign(ExportToolContentService.java:675)
      ... 85 more
      Caused by: org.springframework.orm.hibernate5.HibernateJdbcException: JDBC exception on Hibernate data access: SQLException for SQL [insert into lams_grouping (grouping_ui_id, max_number_of_groups, grouping_type_id) values (?, ?, 2)]; SQL state [null]; error code [0]; could not prepare statement; nested exception is org.hibernate.exception.GenericJDBCException: could not prepare statement

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            dronych Andrey Balan
            Reporter:
            dronych Andrey Balan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development