User tests: Successful: Unsuccessful:
Pull Request for Issue #42031.
Restructure codes in function getValidTransition() in file libraries/src/Workflow/Workflow.php so that it works with PostgreSQL.
It needs to use a PostgreSQL database to reproduce the problem.
An error has occurred.
42601 42601, 7, ERROR: syntax error at or near "WHERE" LINE 5: WHERE "t"."id" = $1 AND "t"."workflow_id" = "w"."id" AND "t"... ^
No error returned and new transition is correctly set.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
PR-4.4-dev
|
I have tested this item ✅ successfully on 73e5726
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
bug
|
Title |
|
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-10-30 21:27:11 |
Closed_By | ⇒ | MacJoom | |
Labels |
Added:
?
Removed: ? |
I have tested this item ✅ successfully on 73e5726
The PR fixes the issue for PostgreSQL, and on MySQL it works as well as before. I've tested both.
There are 2 deprecated warnings in PHP (using PHP 8.1.2), but they happen also without this PR in the same way. This PR just makes them appear on PostgreSQL, too, because the issue doesn't happen anymore so the transition takes place.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42036.