[Koha-bugs] [Bug 36066] REST API: We should only allow deleting cancelled order lines
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 19 10:20:20 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36066
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |katrin.fischer at bsz-bw.de,
| |kyle at bywatersolutions.com,
| |martin.renvoize at ptfs-europe
| |.com
--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #2)
> I think the change makes sense, but I worry a bit if this could break
> plugins using delete - there doesn't seem to be a way to cancel an order via
> the API yet?
No reason to worry. We should not allow plugins to delete in the first place
(since Koha did not allow that yet). But I am reading the code and guess that
it is just added in line with regular CRUD patterns. It is possible to cancel
an order via API using ->update (PUT) and sending a modified orderstatus.
Copying Kyle and Martin here: Do you have such plugins in your plugin repos?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list