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

Validation message about field length in drafts after changing focus doesn't disappear after deleting extra symbol

    Details

    • Sprint:
      3.6 Larks

      Description

      Steps to reproduce:

      1. Open any branch and click 'Start Discussion' button.
      2. Fill 'Topic title' and 'Message content' areas with maximum available number of symbols (120 - for 'Topic title', 20000 - for 'Message content').
      3. Add 1 symbol to 'Topic title' and 'Message content' areas.
      4. Delete 1 symbol from 'Topic title' and 'Message content' areas.

      AR: Text is highlighted, error messages "Size must be between 1 and 120", "Size must be between 2 and 20000" are shown under text areas. Highlighting and error message disappear after deleting one more symbol (remaining 119 in 'Topic title', 19999 in 'Message content' area').
      P.S.: Same behavior also observed for 'Poll' and 'Option list' fields.
      ER: after deleting extra symbol error message isn't displayed, text isn't highlighted.
      video: http://take.ms/jPo11

        Attachments

          Issue Links

          Structure

          (does not include JC-2274)
          History

            Activity

            Hide
            jenkins Jenkins Bot added a comment -

            SUCCESS: Integrated in JC-UnitTests #3034
            JC-2274 Fixed bug: disappearing after deleting extra symbol (r.egemberdiev: 4bf936459198a90f1e572c91decddf2c6c20f163)

            Show
            jenkins Jenkins Bot added a comment - SUCCESS: Integrated in JC-UnitTests #3034 JC-2274 Fixed bug: disappearing after deleting extra symbol (r.egemberdiev: 4bf936459198a90f1e572c91decddf2c6c20f163 )
            Hide
            virtus80 virtus added a comment - - edited

            Test environment: FF 44.0.2, Opera 35.0
            Build: JCommune 3.6.3039.c91dc2f (QA)

            Test Scenario:

            1. Open create topic page.
            2. Enter in fields maximum available number of symbols (120 - for 'Topic title', 20000 - for 'Message content', 120 - for 'Poll', 50 - for 'Option list').
            3. Add 1 symbol to texts.
            4. Delete 1 symbol from areas.

            Test results:

              Opera Firefox
            Topic title
            Message content
            Poll
            Option list

            Issue fixed and can be CLOSED.

            Show
            virtus80 virtus added a comment - - edited Test environment: FF 44.0.2, Opera 35.0 Build: JCommune 3.6.3039.c91dc2f (QA) Test Scenario: Open create topic page. Enter in fields maximum available number of symbols (120 - for 'Topic title', 20000 - for 'Message content', 120 - for 'Poll', 50 - for 'Option list'). Add 1 symbol to texts. Delete 1 symbol from areas. Test results:   Opera Firefox Topic title Message content Poll Option list Issue fixed and can be CLOSED .

              People

              • Assignee:
                virtus80 virtus
                Reporter:
                virtus80 virtus
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel