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

Expose a more generic setDocumentFields method in AbstractMandatoryDocumentInitializer

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.0-rc-1
    • 7.0-milestone-2
    • Old Core
    • None
    • Unknown
    • N/A

    Description

      Currently, AbstractMandatoryDocumentInitializer is focused on class documents and provides a setClassDocumentFields method.

      However, 90% of that method is generic for regular documents as well, so we should extract that generic code into a setClassDocumentFields method to be used by non-class document initializers.

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: