Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-77502

error processing text surrounded by exclamation mark in graphical editing

      Problem

       

      When placing a comment that contains an exclamation mark surrounding a sentence even on multiline, The editor considers what's in between as a reference to an attachment.

      Selecting the value and marking it as preformatted style doesn't change the outcome  

      The editor should consider "!!" as a comment in text mode only when the user intentionally marks it 

      Environment

      Jira DataCenter

      Steps to Reproduce

      • Open a ticket and place the cursor to add a comment in graphical editing 
      • add the value bellow 
        !? Test! 

         

      • Save the comment

      Expected Results

      • Jira will add a comment as written by the user containing all the characters

      Actual Results

      • Jira processes the value "? Test" as a reference to an attachment as described here 
      • Jira replaces the comment value with the text 
        Unable to render embedded object: File (? Test) not found. 

      Workaround

      Put a whitespace after the exclamation mark, e.g. ! ? Test!
       

            [JRASERVER-77502] error processing text surrounded by exclamation mark in graphical editing

            Julien Rey made changes -
            Component/s Original: Issue - Fields [ 59919 ]
            Component/s Original: Issue - Comments [ 56697 ]
            Component/s New: Issue - Fields [ 11091 ]
            Component/s New: Issue - Comments [ 12030 ]
            Key Original: JSWSERVER-25822 New: JRASERVER-77502
            Affects Version/s Original: 9.12.2 [ 106455 ]
            Affects Version/s Original: 8.20.4 [ 98191 ]
            Affects Version/s New: 8.20.4 [ 98193 ]
            Affects Version/s New: 9.12.2 [ 106456 ]
            Project Original: Jira Software Data Center [ 12200 ] New: Jira Data Center [ 10240 ]
            Michal Ciesielski made changes -
            Resolution New: Not a bug [ 12 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Bugfix Automation Bot made changes -
            Introduced in Version New: 8.2
            Michal Ciesielski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Michal Ciesielski made changes -
            Description Original: h3. Problem

             

            When placing a comment that contains an exclamation mark surrounding a sentence even on multiline, The editor considers what's in between as a reference to an attachment.

            Selecting the value and marking it as preformatted *style* doesn't change the outcome  

            The editor should consider "!!" as a comment in text mode only when the user intentionally marks it 
            h3. Environment

            Jira DataCenter
            h3. Steps to Reproduce
             * Open a ticket and place the cursor to add a comment in graphical editing 
             * add the value bellow 
            {code:java}
            !? Test! {code}
             

             * Save the comment

            h3. Expected Results
             * Jira will add a comment as written by the user containing all the characters

            h3. Actual Results
             * Jira processes the value "? Test" as a reference to an attachment as [described here|https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all
             * Jira replaces the comment value with the text 
            {code:java}
            Unable to render embedded object: File (? Test) not found. {code}

            h3. Workaround

            _N/A_

             
            New: h3. Problem

             

            When placing a comment that contains an exclamation mark surrounding a sentence even on multiline, The editor considers what's in between as a reference to an attachment.

            Selecting the value and marking it as preformatted *style* doesn't change the outcome  

            The editor should consider "!!" as a comment in text mode only when the user intentionally marks it 
            h3. Environment

            Jira DataCenter
            h3. Steps to Reproduce
             * Open a ticket and place the cursor to add a comment in graphical editing 
             * add the value bellow 
            {code:java}
            !? Test! {code}
             

             * Save the comment

            h3. Expected Results
             * Jira will add a comment as written by the user containing all the characters

            h3. Actual Results
             * Jira processes the value "? Test" as a reference to an attachment as [described here|https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all
             * Jira replaces the comment value with the text 
            {code:java}
            Unable to render embedded object: File (? Test) not found. {code}

            h3. Workaround

            Put a whitespace after the exclamation mark, e.g. ! ? Test!
             
            Michal Ciesielski made changes -
            Component/s New: Issue - Fields [ 59919 ]
            Michal Ciesielski made changes -
            Introduced in Version Original: 8.2
            Bugfix Automation Bot made changes -
            Introduced in Version New: 8.2
            Mohamed Kouki made changes -
            Link New: This issue relates to JRASERVER-73858 [ JRASERVER-73858 ]
            Mohamed Kouki made changes -
            Reporter Original: Mkouki [ 76c6c7198127 ] New: Mohamed Kouki [ f0ea184c9b1c ]

              Unassigned Unassigned
              f0ea184c9b1c Mohamed Kouki
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: