Uploaded image for project: 'In-Bulletin'
  1. In-Bulletin
  2. MINB-21

Set poll comment validation error to "CommentBody" field instead of "CommentText" field

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1-RC1
    • Component/s: Polls
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      Validation error (e.g. "already commented") when adding new poll comment wasn't displayed.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      When user submits a comment adding form on a poll more then one per hour he should get a error message "Already Commented".

      I discovered that it doesn't due typo error:

      • field in database is called CommentBody
      • but error set to CommentText field, which doesn't exist

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: