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

Interruption of the refactoring job when deleting a page with children

    XMLWordPrintable

Details

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

    Description

      To reproduce:

      • Delete a page that contains some children pages. Be sure to have at least a children page with big attachments that prevents it's deletion.

      Expected results:

      • The deletion job finished the treatment of all the pages even if the job can not delete some sub pages.
      • If there is an error whith the deletion of a page, the error should be returned and logged.

      Actual results:

      • The deletion job is stopped with only a message on the UI: 'Some error happened: Exception during job execution', see the attachment.
      • The error is not logged, see XWIKI-13052
      • The job is stopped once trying de delete the heavy document, this means that all the remainig documents are not treated.

      In conclusion, the failure of the deletion of a document must not lead to the faillure of the entire job.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mouhb Mohamed Boussaa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: