Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Deleted items not put in recycle bin for ListItemAttachment #291
[ x] Enhancement
[ x] Bug
[ ] Question
Please specify what version of the library you are using: [ 1.13.0 ]
Expected / Desired Behavior / Question
Attachements should be sent to the recycle bin - since the control states it will!
Attached files are not sent to the site collection recycle bin after deleting it from the ListItemAttachement control.
Steps to Reproduce
Try to delete an item from the control - it will not appear in the recycle bin.
Add RecycleObject to the apiUrl the deleteAttachement method in SPService.ts and the attached file will be collected in the recycle bin:
@ThomasGranheim thank you very much. Feel free to do a PR next time
Feel free to test out the latest beta with your change.
Here you can read more information on how you can test out the latest beta version: https://sharepoint.github.io/sp-dev-fx-controls-react/beta/