Task #2282 (assigned)
Opened 14 years ago
Last modified 10 years ago
Delete bad scripts on upload/copy
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | Scripting | Version: | n.a. |
Keywords: | n.a. | Cc: | wmoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.5d |
Sprint: | n.a. |
Description
If uploadScript throws an exception or if the script found in lib/scripts, then the file should be deleted (from the db and fs)
Change History (14)
comment:1 Changed 14 years ago by jmoore
- Status changed from new to assigned
comment:2 Changed 14 years ago by wmoore
comment:3 Changed 14 years ago by jmoore
- deleting invalid scripts (#2282) -- ok for now. -- may get bug reports
comment:4 Changed 14 years ago by jmoore
comment:5 Changed 14 years ago by jmoore
comment:6 Changed 14 years ago by jmoore
Leaving open for testing.
comment:7 Changed 14 years ago by wmoore
comment:8 Changed 14 years ago by jmoore
- Sprint changed from 2010-04-30 (8) to 2010-05-13 (9)
comment:9 Changed 14 years ago by jmoore
comment:10 Changed 14 years ago by jmoore
comment:11 Changed 14 years ago by cxallan
- Sprint changed from 2010-05-13 (9) to 2010-05-27 (10)
comment:12 Changed 14 years ago by cxallan
- Sprint changed from 2010-05-27 (10) to 2010-06-10 (11)
comment:13 Changed 14 years ago by jmoore
- Milestone changed from OMERO-Beta4.2 to Unscheduled
- Sprint 2010-06-10 (11) deleted
This will need further evaluation. We'll wait to get some feedback from 4.2.0 first, though.
comment:14 Changed 10 years ago by jamoore
Referencing ticket #1341 has changed sprint.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [6842]) Test for validation. Test fails if invalid script upload / edit does not throw exception. See #2282.