User tests: Successful: Unsuccessful:
Fixes module loading on PostgreSQL.
This needs to be tested on PostgreSQL.
Insert a module into an article.
View the article in frontend.
Module appears.
Module doesn't appear.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
The two PRs are unrelated.
FWIW this is needed regardless of whatever external facing API changes someone wants to propose. The issue here is the database results come back in an inconsistent type so typecasting is needed to not break the function’s internal flow.
How is this different than the other PR? That is aiming to change the public API of the method, this one typecasts the database results to align with the currently documented public API (so you still have to pass a string identifier in here, a non-string will fail the strict comparison).
I have tested this item
Hint for other testers: You have to use PostgreSQL (PDO) to reproduce the issue. With the native PostgreSQL driver the issue doesn't happen here with PostgreSQL 11.
I have tested this item
Tested successful on PostgreSQL (PDO) 11.3
Status | Pending | ⇒ | Ready to Commit |
RTC
I've just tested that nothing is broken for MySQLi and MySQL (PDO). All ok.
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-14 21:05:39 |
Closed_By | ⇒ | HLeithner | |
Labels |
Thanks
@SharkyKZ How is that related to PR #28269 ? I see that one and this one here do concurrent changes in the same file, and I think for the same purpose, one in staging and one in 4.0-dev. Or do I understand something wrong?