either actually copy the attachment too (since that's essentially what you do from user point of view) or refactor the reference to reflect the change.
The attachment copy was implemented by XWIKI-19961. It's not clear if the reporter was expecting the attachments to be copied or not. So I'm not sure if we can close this as duplicate / solved by XWIKI-19961.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.