XWiki Platform
  1. XWiki Platform
  2. XWIKI-10246

Whatever happen when saving backlinks it should never break the document save

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 6.0-rc-1, 5.4.5
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Each time a document is saved, its backlinks are calculated just before saving it. If anything goes wrong when extracting them the document save crash.

      Backlinks are in no way critical enough to kill the document save and there should be a protection around it. Ideally all this code should be moved in a document save listener IMO, it not needed to have it tied that much to the document saving.

        Issue Links

          Activity

          Hide
          Vincent Massol added a comment -

          I also agree about moving it to a listener.

          Show
          Vincent Massol added a comment - I also agree about moving it to a listener.

            People

            • Assignee:
              Thomas Mortagne
              Reporter:
              Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: