deck
deck copied to clipboard
Broken link in description after the attachment is deleted
trafficstars
Describe the bug In the description of a card the link of an inserted attachment is broken, after the attachment is deleted
To Reproduce
- Attach a file to a card
- Insert the attachment (test_attachment.txt) into description
- Delete the attachment
- Wait until the attachment is finally deleted and the icon for undelete is disappeared
- Open the card and click on the link "???? test_attachment.txt", which refers to (/nextcloud/apps/deck/cards/188/attachment/42)
- The nextcloud errorpage "Internal Server Error; The server was unable to complete your request.; If this happens again, ..." is displayed
Expected behavior In the description is only the text "???? test_attachment.txt" or "???? missing attachment: test_attachment.txt" and no clickable link, which refers to the deleted file
Tested with 0.4.0-beta3
Note Perhaps the behavior depends on the extension of the deleted file. With textfiles there is a broken link, with images it is just like expected "???? test_attachment.jpg" (without link)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.