-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
5.8.18
-
3
-
Severity 2 - Major
-
4
-
Summary
Code block macro v. 2.2.4 is not working if the "collapsible" option is enabled.
Environment
- Tested only in Confluence 5.8.18
- Code macro 2.2.4
Steps to Reproduce
- Start Confluence 5.8.18
- Manually download the Code Macro 2.2.4.
- Manually upload the add-on.
- The add-on will be updated.
- If the "collapsible" option is "checked"(enabled), the macro won't work. The "expand source" link won't appear.
Expected Results
The macro will expand/collapse properly.
Actual Results
The "expand source" link is not appearing and you can't expand the content.
Notes
Only tested at the moment in Conf 5.8.18
The macro(2.2.4) is working properly on Confluence 5.10
Workaround
- Downgrade manually the add-on.
or - Delete the plugin from the plugindata table to return to the bundled version(2.1.7).
delete from plugindata where pluginkey = 'com.atlassian.confluence.ext.newcode-macro-plugin'
- mentioned in
-
Page Failed to load
I don't know if it's coincidence, but for myself, I've found that changing the theme for the code macro to Eclipse seems to work pretty consistently. All the other ones aren't reliable. RDark also seems to work but it's too dark for me.Update: It was coincidental that the settings above worked; it wasn't consistently working. However, I did find that, at least for me, the problem was a conflict with another plugin called Team Files. After uninstalling that plugin, all was fine again (code macro could collapse and expand without problems).
https://marketplace.atlassian.com/apps/1216862/team-files-office-365-google-docs?hosting=cloud&tab=overview