Skip to content

Accessing the attachments from the Recently Updated macro does not work #554

Description

@LucianCheve

Describe the bug
Accessing the attachments from the Recently Updated macro does not work

Steps to reproduce
Steps to reproduce the problematic behavior:

  1. Create a new page
  2. Add the macro "Recently Updated" to this page
  3. Add a new attachment to this page
  4. Save the page.
  5. Click on the link of the attachment in the list of Recently Updated macro

Expected behavior

You should be able to see the attachment, like in the ss below:
Image

Actual behavior

You get "The attachment does not exist."
Also, the URL looks wrong:
http://localhost:8080/xwiki/bin/viewattachrev/%24%7Bresult/fullname%7D/myImageName.jpg

Image

Environment (please complete the following information):

  • XWiki version 16.10.8
  • App version:
  • reproduced the issue on 1.26.20, 1.26.19, 1.26.18
  • it works as intended on version 1.26.17

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions