-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[5.2] [database] CHG deprecated getQuery(true) with createQuery() #42344
Conversation
@tkuschel As soon as I applied the Patch, (logging was turned off at that moment on purpose), the site crashed magnificently :( Error UndefinedMethodError ;( Any way to revert the patch and uncrash my test site please? ;) lol Thanks. |
This pull request has been automatically rebased to 5.2-dev. |
@tkuschel Thank you for this PR! We would like to merge it in Joomla 5.2. |
The I don't see the |
The parameter $new is deprecated. |
@tkuschel can you solve the conflicts? As Peter wrote, we'd like to see this in 5.2, but for that it would have to be ready and testable. |
* Fixed: Consistency of "unpublished" -icon colours #43375 Fixed the icon colour of the unpublished articles in the associated articles list. * Replaced other instances of icon-times with icon-unpublish * Changed icon-folder to icon-archive * Changed icon-check to icon-publish --------- Co-authored-by: Quy <[email protected]>
* fix default language value for taxonomy rows * fix default value for other taxonomy methods
I'm sorry that I'm only now able to join in again, but unfortunately I've been very ill and have been absent for a long time. |
Sorry, I have seen, that there are some code for reworking too! - Please do not check until the following is also to be changed:
I will clone the 5.2-dev branch again, and fix that too - causing troubles. |
Please don't, just do the createQuery() thing. Fixing |
Pull Request for deprecated
getQuery(true)
in joomla-cms because of framework databaseSummary of Changes
Replaced all fuction calls
getQuery(true)
withcreateQuery()
but only in database related context.Note: There is also a getQuery(true) functionality in
Joomla\CMS\Uri\Uri
that must remain untouched.Testing Instructions
No extraordinary test instructions necessary.
Actual result BEFORE applying this Pull Request
Multiple php warnings (when enabled) resulting in e.g.
Expected result AFTER applying this Pull Request
These warnings with "parameter $new" are gone.
Link to documentations
Remember to change your mindset using the createQuery() to start building a query for the database, like: