Uploaded image for project: 'Publication Workflow Application'
  1. Publication Workflow Application
  2. XAWORKFLOW-115

Move strategy is not working anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.1
    • 2.3.3
    • None
    • Unknown

    Description

      In https://jira.xwiki.org/browse/XAWORKFLOW-59 a new feature was introduced to Move a Draft when a Target is renamed, and vice versa.
      Currently, the feature is blocked by the doc.isNew() check from here] and here which is returning true all the time, making the code that follows to not be reached.

      There are several problems with moving action:

      • children are not moved along with the draft/target parent (the includeChildren field is not taken into account)
      • titles are not updated in the equivalent document (if the draft is renamed, the title of the target is not changed to the new one)
      • target field is not updated with the new value in the equivalent document (if the draft is renamed, the target field in the target is not changed to the new one, and an old value is hanging with to purpose).

      Since the parent version of the application was updated to 12.10.4, there's the option to implement the renaming/moving action using the standard operations and the new available events.

      Attachments

        Activity

          People

            acotiuga Alex Cotiugă
            acotiuga Alex Cotiugă
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: