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

Expose a more generic setDocumentFields method in AbstractMandatoryDocumentInitializer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0-milestone-2
    • Fix Version/s: 7.0-rc-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: