Uploaded image for project: 'Numbered Content Application'
  1. Numbered Content Application
  2. NCAPP-68

Numbering activation is badly taken into account during page creation

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      1. Create a page with Numbered Headings Template
      2. Add a heading in the page
      3. 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:

      1. Create a page with the default template
      2. activate numbered headings from the side bar
      3. 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

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: