Details
-
Bug
-
Resolution: Solved By
-
Minor
-
12.10.10
-
None
-
Unknown
-
Description
Steps to reproduce:
- Access an URL like http://localhost:8080/xwiki/bin/download/Sandbox/WebHome/test.png?rev=1.1 for an attachment that does not exist (e.g. a crawler or an external website can hold some reference to attachment that no longer exist):
- Check the logs
Result:
2023-01-13 15:32:20,185 [qtp1708570683-17 - http://localhost:8080/xwiki/bin/download/Sandbox/WebHome/scriptaculous/effects.js] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [image]: null 2023-01-13 15:32:20,186 [qtp1708570683-17 - http://localhost:8080/xwiki/bin/download/Sandbox/WebHome/scriptaculous/effects.js] WARN c.x.x.p.XWikiPluginManager - downloadAttachment failed for plugin [zipexplorer]: null
Expected Result: no logs printed by the server.
Attachments
Issue Links
- duplicates
-
XWIKI-21955 Image Plugin warning when the passed attachment is null
- Closed