Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-6662

New comment formatting breaks down in the queue view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.7.0
    • 4.6.0, 4.5.1
    • Queues

    Description

      Issue Summary

      When opening an issue from the queue view, the formatting of the comment will break down when lists are mixed with bold words. See "Steps to Reproduce" for the detailed test case. The same case works fine in the default issue view, the issue only exists from within a queue view.

      Steps to Reproduce

      1. With JSD 4.5.1 open up a queue view, and click on any ticket to open it within the queue view
      2. Copy and paste the following into the "Text view" of a new comment:
        list
         * first point of the list
         * second *point of the list* in bold
         * third point of the *list* in *bold*
         * *last point* of the *list*
        
        line with *some* words written in *bold*, for example
        line with *one* word written in bold
      3. Switch to "Visual view" - everything looks normal.
      4. When in "Visual view", put the cursor at the beginning of the last line, then click Backspace to merge it with a previous line, and then click Enter to put the last line into the new paragraph.
      5. Switch to the "Text view". Observe the formatting is all broken now:
        list
         * first point of the list
         * second 
        *point of the list* in bold
         * third point of the 
        *list* in 
        *bold*
         * 
        *last point* of the 
        *list*
        
        line with *some* words written in 
        *bold*, for example
        
        line with *one* word written in bold
      6. If you immediately switch to the "Visual view" it will show you the proper formatting, but it shows you a cached version, the real formatting in the comment (and in the customer notification) will be broken
      7. Do any change in the "Text view", switch to "Visual view" to observe the broken formatting.

      Expected Results

      Consistent formatting of the comment.

      Actual Results

      Formatting breaks down when in the Queue view.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      Attachments

        Issue Links

          Activity

            People

              mma Martin Ma
              4246587d6030 Angelina Weisser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync