Commit Graph

11 Commits

Author SHA1 Message Date
Guy Sartorelli
563f253f36
FIX Don't use removed method. 2023-02-01 15:29:49 +13:00
Sabina Talipova
2f7109ac52
API Remove deprecated code (#230) 2023-01-25 13:47:52 +13:00
Niklas Forsdahl
d420a29e9f
FIX Row updating broken in SilverStripe 4 (#197)
Row updating is broken in SilverStripe 4 when for example using the PublishHandler or UnPublishHandler actions. This is due to unescaped backslashes in the fully qualified class name in json data, which when parsed in javascript treats the backslash as an escape character.
This can be fixed by escaping the backslash character in HTTPBulkToolsResponse.
2022-06-28 14:51:05 +12:00
Steve Boyd
81f34cdd7b ENH PHP 8.1 compatibility 2022-04-13 14:08:15 +12:00
Steve Boyd
4e82c461de
Update src/BulkTools/HTTPBulkToolsResponse.php
Co-authored-by: Maxime Rainville <maxime@rainville.me>
2021-06-02 16:32:50 +12:00
Steve Boyd
a2aa7475a5
Update HTTPBulkToolsResponse.php 2021-06-02 10:21:48 +12:00
Loz Calver
ff9127739b FIX: Remove shutdown function for error output (fixes #204) 2020-12-14 09:34:37 +00:00
Thomas Portelange
b00987b735
fix undefined index notice
$body['records'] is only defined if entering the if clause and therefore the count on line 349 can cause undefined index errors
2020-09-02 14:01:46 +02:00
Robbie Averill
b9dad64ca8 Minor tidy ups to doc blocks and unused properties in HTTPBulkToolsResponse (#178) 2018-08-16 15:37:19 +03:00
Thierry François
7f2045e7aa Fix Remove message from HTTPResponse construct 2018-03-14 22:44:41 +02:00
Thierry François
bc2b317a35 API Unified json responses via new HTTPBulkToolsResponse
All bulk handlers and the bulk uploader now use a common HTTPBulkToolsResponse to return a common json format and handle errors. The front end uses this json to update the drifield accordingling.
2018-03-14 22:24:37 +02:00