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

Inline comment is broken if a page contains Draw.io or for macros which has text only available in frontend

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, 8.5.14, 8.5.17, 8.5.18, 8.5.19, 9.2.3, 9.2.6, 9.2.7
    • Macros - Other Macros
    • None

      Issue Summary

      Cannot add inline comments to similar words that exist inside a macro body. 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.Ensure the macro added her has code available only in frontend and not in backend, for the other case where it fails is resolved by CONFSERVER-79879.

      • Draw.io

      Users also reported issues for:

      • Coloredpanel macro

      Steps to reproduce

      Steps to Draw.io 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 "Draw.io" macro.
      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.

      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. However highlighting a section which is not common for both outside and inside macro works fine

              Unassigned Unassigned
              419336ae547f Augusto Lisboa (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: