Uploaded image for project: 'GitLab Application'
  1. GitLab Application
  2. XGITLAB-38

Remove the originalMetadataAuthor node from the committed pages, for XWiki 14.5+

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.4
    • None
    • Unknown

    Description

      The originalMetadataAuthor property was removed from the xar:format in 14.5 (XCOMMONS-2446) but not from the page metadata themselves.
      Thus, the code added for ticket XGITLAB-33 will continue to serialize it for commit it for XWiki versions 14.5, making the page incompatible with the result obtained from the formatter (xar:format).

      The fix is probably to add an option, like for the dates for XGITLAB-6.

      Alternatively we can try to detect the 'right' format otherwise, for example:

      • based on the XWiki version - but this can create issues because the configuration from the pom for the xar:format may not be compatible with the 'default' of that version
      • actually run xar:format on the file, if the code from the maven plugin is reusable.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: