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

Voting exception at importing sequences

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.5
    • Fix Version/s: 2.4, 2.3.5
    • Component/s: Tool Voting
    • Labels:
      None

      Description

      It seems that the addition of max min votes into voting might have broken imports. Try to import these sequences and you get an exception:

      2010-03-13 04:59:16,852 ERROR [ImportToolContentAction] Error occured during import
      org.springframework.dao.DataIntegrityViolationException: Hibernate transaction synchronization: could not insert: [org.lamsfoundation.lams.tool.vote.pojos.VoteQueContent]; SQL [insert into tl_lavote11_nomination_content (nomination, display_order, vote_content_id) values (?, ?, ?)]; Column 'vote_content_id' cannot be null; nested exception is com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column 'vote_content_id' cannot be null
      com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column 'vote_content_id' cannot be null

        Activity

        Hide
        dronych Andrey Balan added a comment -
        fixed

        this issue has affected only old exported sequences (as soon as they don't have minNominationCount variable)
        Show
        dronych Andrey Balan added a comment - fixed this issue has affected only old exported sequences (as soon as they don't have minNominationCount variable)
        Hide
        ernieg Ernie Ghiglione added a comment -
        Andrey, can you confirm if these changes have also being applied to head? Thanks
        Show
        ernieg Ernie Ghiglione added a comment - Andrey, can you confirm if these changes have also being applied to head? Thanks
        Hide
        ernieg Ernie Ghiglione added a comment -
        Actually tested with 2.3.5 and 2.4 so now closing. Thanks Andrey
        Show
        ernieg Ernie Ghiglione added a comment - Actually tested with 2.3.5 and 2.4 so now closing. Thanks Andrey
        Hide
        ernieg Ernie Ghiglione added a comment -
        Reopen as the status in JIRA shows as resolved instead of Close... re-closing in just a sec
        Show
        ernieg Ernie Ghiglione added a comment - Reopen as the status in JIRA shows as resolved instead of Close... re-closing in just a sec

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development