When executing the POST, PUT and DELETE actions, I was receiving status code 200, but the record was not saved or changed.
Server Features:
PHP Version: 7.3;
Installation Location: Server root, without additional folder.
I found that in the "/lib/Zend/Db/TableGateway/AbstractTableGateway.php" file, when trying to read the constants:
EVENT_PRE_INITIALIZE;
EVENT_POST_INITIALIZE,;
EVENT_PRE_SELECT;
EVENT_POST_SELECT;
EVENT_PRE_INSERT;
EVENT_POST_INSERT;
EVENT_PRE_DELETE;
EVENT_POST_DELETE;
EVENT_PRE_UPDATE;
EVENT_POST_UPDATE
They are returning blank.
As I do not have a great knowledge of the Zend library and its libraries I put the fixed values and managed to perform the actions of PUT, POST and DELETE.
The values I used are in the "that are in the file "lib/Zend/Db/TableGateway/Feature/EventFeature.php"
When executing the POST, PUT and DELETE actions, I was receiving status code 200, but the record was not saved or changed.
Server Features:
I found that in the "/lib/Zend/Db/TableGateway/AbstractTableGateway.php" file, when trying to read the constants:
They are returning blank.
As I do not have a great knowledge of the Zend library and its libraries I put the fixed values and managed to perform the actions of PUT, POST and DELETE.
The values I used are in the "that are in the file "lib/Zend/Db/TableGateway/Feature/EventFeature.php"