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,Draw.io and Confiform macros

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • 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
    • Macros - Other Macros
    • None

    Description

      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.
      

      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.

       

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              419336ae547f Augusto Lisboa
              Votes:
              44 Vote for this issue
              Watchers:
              34 Start watching this issue

              Dates

                Created:
                Updated: