Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.0
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Reproduction steps:
- Create a page with Numbered Headings Template
- Add a heading in the page
- Force server side refresh (e.g., insert a macro)
Expected:
After the macro is inserted, the headings stays numbered
Actual:
After the macro is inserted, the headings are not numbered
Alternative reproduction steps:
- Create a page with the default template
- activate numbered headings from the side bar
- Insert a heading
Expected:
The headings followed the side bar configuration
Actual:
The status selected from the side bar is not taken into account
Also, the first scenario is true for numbered figures as well. But, it requires to first create template provider for a template where a NumberedFigures.Code.NumberedFiguresClass XObject with status=activated.
Notes:
This seems to be caused by the numbered headings css being recomputed with numbered headings = false
If one of the parent of the created page has numbered headings enabled, then the issue will be deactivation of headings/figures.
Note: this issue requires XWIKI-20724 which will be released on 15.2-rc-1, and 14.10.7.
Attachments
Issue Links
- depends on
-
XWIKI-20724 Allow extensions to add parameters to the html conversion request
- Closed