-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
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
Missing upgrade elements #290
Comments
-$this->set('_serialize', 'result');
+$this->viewBuilder()->setOption('serialize', 'result'); as well as -TableRegistry::get()
+TableRegistry::getTableLocator()->get() also was sth that needed to be done manually it seems. |
I think the recommended way to fetch table instances is via the LocatorAwareTrait, not directly from the TableRegistry, right? If so then we'd need to add the trait via rector as well and replace it with
|
Sure but for now the quick way would be a simpler replace. Either way works. |
While the simple replacement isn't the most correct, the upgrade process will be smoother if we had the simple method replacement. |
Just adding them as note for now, if someone wants to tackle those
for plugin routes.php files
replacement
The text was updated successfully, but these errors were encountered: