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

Introduce DocumentRenamingEvent and DocumentRenamedEvent events

    XMLWordPrintable

Details

    • Unit
    • High
    • Medium
    • Pull Request accepted
    • Code

    Description

      If it's your first Google Code-In task it's highly recommended to start with Become a community member.

      Prerequisites

      • Assign yourself to the Jira issue

      Issue

      The idea is that there is code which are linking resources to specific document and would like to know when a document has been renamed.

      For example when you watch some document and that someone move it you are not watching it anymore.

      The best place to put this event for now is probably along with the document events in https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-bridge/src/main/java/org/xwiki/bridge/event.

      Of course you also need to make sure the standard move code will send those events. See https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/internal/job/MoveJob.java.

      Expected Outcome

      • The student must commit the changes and create a pull request on https://github.com/xwiki/xwiki-platform
        • The summary of the Pull Request must have a first line matching the JIRA issue following by a colon and then the title of this issue
        • Add a comment in the jira issue mentioning your pull request and provide a link to it

      Links

      Getting help

      If you have any question you should use the Chat (faster answer, but when there is someone around) or the Forum (more people available, but slower answer).

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: