Incompatibility with Handy Status macro (Handy Macros add-on)

Issue #3 new
Andrey Khaneev created an issue

If Handy Status is inside Tabs Group macro, it can not be updated using com.atlassian.confluence.xhtml.api.XhtmlContent#updateMacroDefinitions (same in #replaceMacroDefinitionsWithString and #handleMacroDefinitions), because no macros are visible inside Tabs Group macro body, while it works fine with Tab Element and other macros.

Similar issue happens with Table Filter and Charts add-on inside Tabs Group macro.

Same issue was fixed in Spectrum Formatting Macros add-on. Please, see changes made in Spectrum Formatting Macros 1.0.12.

Both macros (Tabs Group and SP Tabs Group) use XhtmlContent#handleMacroDefinitions that seems to brake its behavior.

Steps to reproduce the issue with Handy Status: 1. Create a new page with at least 1 tab. 2. Insert Handy Status macro into 1 tab. 3. Save page. 4. Check status buttons function correctly in view mode. 5. Edit page. 6. Select and copy the status macro (CTRL+C) – (don’t even need to paste it). 7. Save page. 8. Refresh browser page (F5). 9. Macro displays “Error rendering macro 'status-handy' : null”.

Steps to reproduce the issue with Table Filter: 1. Insert Table Filter macro with table into 1 tab. 3. Save page. 4. Add any filter in view mode and save changes in Table FIlter. 5. Refresh the page. 6. Changes were not saved.

Comments (0)

  1. Log in to comment