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

User can't use a preview mode with a large text with a big amount af bb-code tags

    Details

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

      Description

      Precondition
      User should be registered and logged in on forum.

      Steps to reproduce:

      1. Create a new topic in some branch by using "New topic" button.
      2. Paste a text from an attachment (Stas test text.txt) to a topic field.
      3. Name the topic and click "Preview".

      AR: warning "size must be between 2 and 20000" shown.
      ER: topic opened in preview mode and formatted text should be shown.

      Notation: if you click "Save" button topic created and formatted text should be accessible.

        Attachments

          Activity

          Hide
          mixaS Mikhail Stryzhonak added a comment -
          Show
          mixaS Mikhail Stryzhonak added a comment - Same bug with http://jira.jtalks.org/browse/JC-1809 . Fixed.
          Hide
          Vtech Targa Florio added a comment - - edited

          Test Environment
          Firefox 27.0, jcommune 2067 build

          Test Scenario
          1. Login to jcommune
          2. Creating new topic in branch with privileges for creation
          3. Enter "Topic title" for title and pasting text from attached file as topic message
          4. Press "Preview"

          Regression tests:
          Topic creation was tested

          Test results:
          Topic opened in preview mode and formatted text is shown.
          AR=ER
          Results for notation: topic created successfully and formatted text is shown as expected.

          Show
          Vtech Targa Florio added a comment - - edited Test Environment Firefox 27.0, jcommune 2067 build Test Scenario 1. Login to jcommune 2. Creating new topic in branch with privileges for creation 3. Enter "Topic title" for title and pasting text from attached file as topic message 4. Press "Preview" Regression tests: Topic creation was tested Test results: Topic opened in preview mode and formatted text is shown. AR=ER Results for notation: topic created successfully and formatted text is shown as expected.

            People

            • Assignee:
              Vtech Targa Florio
              Reporter:
              Pavel Gradobik Pavel Gradobik
            • Votes:
              0 Vote for this issue
              Watchers:
              Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel