1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/05c93f3b424c/ Changeset: 05c93f3b424c User: dan Date: 2014-02-18 18:57:39 Summary: Fix for deleting uploading HDAs. Affected #: 1 file diff -r 5c3d7c2346617774a4248b9ef990a3208e00576b -r 05c93f3b424c372c14468f9aa25a79db88bfca24 lib/galaxy/webapps/galaxy/api/history_contents.py --- a/lib/galaxy/webapps/galaxy/api/history_contents.py +++ b/lib/galaxy/webapps/galaxy/api/history_contents.py @@ -274,7 +274,9 @@ return { 'error': 'Anonymous users cannot edit datasets outside their current history' } else: payload = self._validate_and_parse_update_payload( payload ) - hda = self.get_dataset( trans, id, check_ownership=True, check_accessible=True, check_state=True ) + # only check_state if not deleting, otherwise cannot delete uploading files + check_state = not payload.get( 'deleted', False ) + hda = self.get_dataset( trans, id, check_ownership=True, check_accessible=True, check_state=check_state ) # get_dataset can return a string during an error if hda and isinstance( hda, trans.model.HistoryDatasetAssociation ): changed = self.set_hda_from_dict( trans, hda, payload ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.