Opened 10 years ago
Closed 8 years ago
#1349 closed task (fixed)
DeleteImage Web Method Needs to Configured
| Reported by: | Martin Reisinger | Owned by: | |
|---|---|---|---|
| Priority: | medium | Milestone: | 1.10.2 |
| Component: | Middle Tier | Version: | N/A |
| Severity: | Keywords: | images | |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
A user requested the ability to delete an attachment in the order wizard.
The DeleteImage web method has never been exercised or tested. It needs to be, and most likely some coding.
Issues w/ DeleteImage, either known or surmised are:
- it will not work with remote images not on the GG server
- it may leave pointers or orphans (Permissions and ownership have never been explored)
- attachment tables should all be approached the same way
Change History (2)
comment:1 by , 8 years ago
| Status: | new → addressed |
|---|
comment:2 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |
Note:
See TracTickets
for help on using tickets.

The Curator Tool calls the Middle Tier 'DeleteImage()' web method when the user removes an attachment records from the accession_inv_attach table via the Attach Wizard. If the attachment resides on a storage location that the Middle Tier has permission to delete the file then the file will be removed from the storage location - but if the Middle Tier does not have permission to remove files then the attachment file will remain at that storage location but the accession_inv_attach record will still be deleted.