Uploaded image for project: 'Survey'
  1. Survey
  2. SURVEY-201

Unable to answer a survey

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.2.1, 2.3.0
    • None
    • None
    • None

      The sql connection is closed before inserting answer

      Caused by: org.apache.ibatis.exceptions.PersistenceException:
      ### Error updating database.  Cause: java.sql.SQLException: Connection is null.
      ### SQL: INSERT INTO Survey_Session(sessionId, surveyId, login, population, IPAddress, submittedAt)         VALUES (null, ?, ?, ?, ?, ?)
      ### Cause: java.sql.SQLException: Connection is null.
          at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
          at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:200)
          at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185)
          at org.ametys.plugins.survey.data.SurveyAnswerDao.addSession(SurveyAnswerDao.java:196)
       

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: