Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-79879

Inline comment is broken if a page contains Capitioned Item, HTML Macro, Table Transformer,Hidden Data, Draw.io and Confiform macros

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 7.16.0, 7.19.0, 7.19.8, 8.2.3, 8.4.5, 7.19.18, 8.5.5, 8.5.6, 8.5.7, 8.9.1, 8.5.11
    • Macros - Other Macros

      Issue Summary

      Cannot add inline comments to similar words that exist inside a macro body, which could also be hidden. For example, in a page, a macro body contains the text "This is inside a macro" and the text "I am not inside" lives outside the macro.

      Adding an inline comment to the word "inside" results in this error

      We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text.
      

      This bug might be affecting other macros as well. Please, add to this list upon confirmation:

      • Capitioned Item
      • HTML Macro
      • Table Transformer
      • Hidden Data
      • Draw.io
      • Confiform
      • Code Block

      Steps to reproduce

      Steps to reproduce for hidden Captioned Item Macro:

      Can't add an inline comment to a string or substring which is similar to the content inside a hidden macro

      1. Start editing a page, insert a "Captioned Item" macro with the option "Hidden" switched ON.
      2. Type some text inside the macro.
      3. Type the same text outside the macro.
      4. Save the page.

      From now on you won't be able to make inline comments for any substring, which matches the text inside the macro.

      Steps to reproduce for HTML macro:

      1. Create a page and insert HTML Macro to it.
      2. Add a few texts inside the HTML Macro
      3. Save and publish the page and then add an inline comment to the text which was added inside the macro
      4. You will be seeing the same error as above.

       

      Steps to reproduce for Table Transformer macro:

      1. Create a page and insert Table transformer Macro to it.
      2. Insert a table inside the above macro and Add a few texts inside the table.
      3. Save and publish the page and then add an inline comment to the text which was added inside the table within table transformer macro
      4. You will be seeing the same error as above.

       

      Steps to reproduce for Hidden Data from Scaffolding forms and templates for Confluence plugin:

      1. Create a page and insert Hidden Data macro
      2. Type some text inside the macro.
      3. Type the same text outside the macro.
      4. Save the page.
      5. You will be seeing the same error as above.

      Expected Results

      Inline comments will be placed successfully.

      Actual Results

      We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text.
      

      Workaround

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

            Unassigned Unassigned
            419336ae547f Augusto Lisboa
            Votes:
            58 Vote for this issue
            Watchers:
            52 Start watching this issue

              Created:
              Updated: