EDIT: This turned out to be something totally different from what I originally thought, so I'm rewriting the description.
In certain cases, trying to modify delete requests results in the following error:
Accepting iRODS data request "Delete path/to/object" failed: ['This model currently only supports the action "DELETE"']]
At first I thought this had something to do with the file status, but no: it's because 1 we recently changed the status in code to constants, 2) we changed the capitalization between the original strings and the new constants, but 3) comparison is case sensitive.
It's an easy fix: make the comparison in IrodsDataRequest._validate_action(), make the comparison case insensitive.
Also, that formatting error has to be corrected :) I believe that concerns batch accept/reject.
EDIT: This turned out to be something totally different from what I originally thought, so I'm rewriting the description.
In certain cases, trying to modify delete requests results in the following error:
At first I thought this had something to do with the file status, but no: it's because 1 we recently changed the status in code to constants, 2) we changed the capitalization between the original strings and the new constants, but 3) comparison is case sensitive.
It's an easy fix: make the comparison in
IrodsDataRequest._validate_action()
, make the comparison case insensitive.Also, that formatting error has to be corrected :) I believe that concerns batch accept/reject.