Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18156

Tree pages created upon creation of a page from a tree template preserve the history of their corresponding template page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.6.5
    • Administration
    • None
    • Unknown

    Description

      This issue is a limitation of the implementation of https://jira.xwiki.org/browse/XWIKI-12775 , but it's not clear to me if this limitation was there from its first version or whether the limitation was introduced afterwards. I reproduced on 12.6.5.

      How to reproduce:

      • create a tree template (template with some subpages) and a template provider for it
      • make some modifications to the subpages of the template (such as to create a couple of entries of page history)
      • make some modifications to the root page of the template as well (such as to create a couple of entries of page history)
      • create a page from this template
      • upon creation, the whole tree of pages of the template will be "copied" over to the newly created page

      Expected result:

      • All the pages in the tree of pages newly created have a single entry in the page history
      • Creation dates and last modified dates correspond to the current date, when the create from template was done

      Actual result:

      • The root page created from the template has a single entry in the history, as well as correct dates:
      • The subpages created from the template has all the history of the template, and some strange dates (in the history):

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: