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

Site Import: Stacktrace for polls

    XMLWordPrintable

    Details

    • 21 Status:
      Verified
    • Test Plan:
      Hide

      Have the server logs open in another browser window (http://nightly2.sakaiproject.org/)

      1. Create a poll in your site
      2. Create another site
      3. Click on Site Info > Import from Site 
      4. Click I would like to replace my data
      5. Choose the site with the poll(s) and Continue
      6. Check the box at the top of the form (with the site name) to select all tools
      7. Click Finish
      8. Check the server logs - are there errors regarding the pools tool?
      9. Check your site - did polls import?

      Expected: no server errors and polls should import

       

      Show
      Have the server logs open in another browser window ( http://nightly2.sakaiproject.org/ ) Create a poll in your site Create another site Click on Site Info > Import from Site  Click I would like to replace my data Choose the site with the poll(s) and Continue Check the box at the top of the form (with the site name) to select all tools Click Finish Check the server logs - are there errors regarding the pools tool? Check your site - did polls import? Expected: no server errors and polls should import  

      Description

      I have a site with multiple tools and content. On site import > replace my data, polls did not import and there is a stacktrace.  

      Poll is imported correctly on 20x: 49e72ad0

      Original site: https://qa21-mysql.nightly.sakaiproject.org/portal/site/54a5306f-7542-419f-b6a4-3f0c4bd95872

      Import site: https://qa21-mysql.nightly.sakaiproject.org/portal/site/03daa7dd-fcf4-4d70-ac03-24a6df262221

      21-Feb-2021 09:02:13.183 ERROR [pool-5-thread-1] org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logExceptions Column 'OPTION_ORDER' cannot be null

      21-Feb-2021 09:02:13.189 ERROR [pool-5-thread-1] org.sakaiproject.poll.service.impl.PollListManagerImpl.saveOption Hibernate could not save: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration