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

Poll doesn't preview correctly in some circumstances

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6 Larks
    • Fix Version/s: 2.8 Larks
    • Labels:
      None
    • Environment:

      JC 2.6.2056.947dd8d

    • Sprint:
      2.8 Larks

      Description

      Steps:

      1. Go to some topic and click on Create Topic button
      2. leave topic's title and message empty, but fill Poll's fields: name, several options
      3. Click on Preview button

      AR: Validation error for topic and Poll preview are shown in the same time
      ER: No preview is shown if there are validation errors

      If you enter valid text into message content after 3rd step and click Preview button again, Preview will be shown without Poll part.

      Look this video http://screencast.com/t/C9kTyCq3D

        Attachments

          Activity

          Hide
          ctapobep Stanislav Bashkyrtsev added a comment -

          Boris Wainberg, please review the changes.

          Show
          ctapobep Stanislav Bashkyrtsev added a comment - Boris Wainberg , please review the changes.
          Hide
          nigredo Andrey Ivanov added a comment -
          Show
          nigredo Andrey Ivanov added a comment - See code review
          Hide
          AndreySurzhan Andrey Surzhan added a comment -

          Still in progress

          Show
          AndreySurzhan Andrey Surzhan added a comment - Still in progress
          Hide
          AndreySurzhan Andrey Surzhan added a comment -

          Environment: JC 2.8.2306.3c4c334 (qa)
          Pre-condition:
          User is logged in and has permission to create topic
          Go to some branch

          1. Go to some topic and click on Create Topic button
          2. leave topic's title and message empty, but fill Poll's fields: name, several options
          3. Click on Preview button

          AR=ER: Preview is'n shown, there are validation errors

          Regression tests:

          Test Results
          1 Create some topic with valid data PASS
          2 Create some topic with poll PASS
          3 Try to create topic without any data - validation errors should appear PASS
          4 Try to create topic with poll data and some valid message content - validation error should appear PASS
          5 Try to preview topic with poll data and some valid message content - topic is previewed PASS

          Tests result: Issue can be closed

          Show
          AndreySurzhan Andrey Surzhan added a comment - Environment: JC 2.8.2306.3c4c334 (qa) Pre-condition: User is logged in and has permission to create topic Go to some branch Go to some topic and click on Create Topic button leave topic's title and message empty, but fill Poll's fields: name, several options Click on Preview button AR = ER : Preview is'n shown, there are validation errors Regression tests: № Test Results 1 Create some topic with valid data PASS 2 Create some topic with poll PASS 3 Try to create topic without any data - validation errors should appear PASS 4 Try to create topic with poll data and some valid message content - validation error should appear PASS 5 Try to preview topic with poll data and some valid message content - topic is previewed PASS Tests result: Issue can be closed

            People

            • Assignee:
              julik Julia Atlygina
              Reporter:
              AndreySurzhan Andrey Surzhan
            • Votes:
              0 Vote for this issue
              Watchers:
              Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 0.05h
                0.05h

                  Structure Helper Panel