Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-979

Voting. behavior is incorrect if item is not last in Option list

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.20 Larks
    • Fix Version/s: None
    • Labels:
      None

      Description

      Preconditions:
      Login to the forum

      Steps:

      1. Choose any section
      2. Click 'New Topic' button
      3. Enter more 3 characters into Poll title field

      4. Set 3 items in Option list:
      first item length is 2 characters
      second item length is in [3,50]
      third item length is in [3,50]

      5. Click 'Save'

      Actual Result:
      Message doesn't appear, incorrect pool is created

      Expected Result:
      Message 'item length should be 3 - 50' appears

      6. Set 3 items in Option list:
      first item length is in [3,50]
      second item length is 2 characters
      third item length is in [3,50]

      7. Click 'Save'
      Actual Result:
      Message doesn't appear, incorrect pool is created

      Expected Result:
      Message 'size must be between 3 and 50' appears

      8. Set 3 items in Option list:
      first item length is in [3,50]
      second item length is in [3,50]
      third item length is 2 characters

      9. Click 'Save'
      Actual Result:
      Message appears. So validation is correct for last item only

      Expected Result:
      Message 'size must be between 3 and 50' appears

      10. Set 3 items in Option list:
      first item length is 50 characters
      second item length is in [3,50]
      third item length is in [3,50]

      11. Click 'Save'
      Actual Result:
      Message 'item length should be 3 - 50' appears, pool isn't created

      Expected Result:
      Message doesn't appear, pool is created

      12. Set 3 items in Option list:
      first item length is in [3,50]
      second item length is 50 characters
      third item length is in [3,50]

      13. Click 'Save'
      Actual Result:
      Message 'item length should be 3 - 50' appears, pool isn't created

      Expected Result:
      Message doesn't appear, pool is created

      14. Set 3 items in Option list:
      first item length is in [3,50]
      second item length is in [3,50]
      third item length is 50 characters

      15. Click 'Save'
      Actual Result:
      Message doesn't appear, pool is created. So validation is correct for last item only.

      Expected Result:
      Message doesn't appear, pool is created

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  julik Julia Atlygina
                  Reporter:
                  anna_s Anna Shcherbinina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel