https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36066
--- Comment #16 from Tomás Cohen Arazi <[email protected]> --- (In reply to Tomás Cohen Arazi from comment #11) > > We use 409 (Conflict) for such cases: > > "Indicates that the request could not be processed because of conflict in > the current state of the resource, such as an edit conflict between multiple > simultaneous updates." > (In reply to Marcel de Rooy from comment #15) > > Yeah we also use 409 in the REST API. Mostly when trying to add a duplicate. > In this case I have my doubts if we should go there now. I am just reading > it like You are not authorized to delete a non-cancelled order line. This is clearly a case for the 409, as the resource status is conflicting with the requested action. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
