Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XWIKI-15805: Error when using compare feature in history when an atta…
…chment is deleted * Looks for the XWikiAttachment in the recycle bin when performing an attachment diff if the content is unavailable. * If the XWikiAttachment content is definitely unavailable (deleted from the recycle bin too), then display an information for the users.
- Loading branch information
Showing
5 changed files
with
73 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You shouldn't use
this
here but the provideddoc
parameter because this method is used when computing the diff between documents and both documents are passed as parameters. The current document is just used to call the API because both documents can benull
, but otherwise it shouldn't influence the diff (it shouldn't matter what the current document is).