We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems the various hooks in classes such as RESTfulAPI_DefaultQueryHandler get called twice.
If I define onAfterDeserialize() on a DataExtension, this method gets called twice in RESTfulAPI_DefaultQueryHandler::updateModel(), by this code:
// After deserialize hook if (method_exists($model, 'onAfterDeserialize')) { $model->onAfterDeserialize($payload); } $model->extend('onAfterDeserialize', $payload);
It seems method_exists returns true in this case for some reason. Im running this on SilverStripe 3.5
The text was updated successfully, but these errors were encountered:
umm... probably should just keep the extend call and get rid of the other one. Care to send a PR?
extend
Sorry, something went wrong.
No branches or pull requests
It seems the various hooks in classes such as RESTfulAPI_DefaultQueryHandler get called twice.
If I define onAfterDeserialize() on a DataExtension, this method gets called twice in RESTfulAPI_DefaultQueryHandler::updateModel(), by this code:
It seems method_exists returns true in this case for some reason. Im running this on SilverStripe 3.5
The text was updated successfully, but these errors were encountered: