-
Notifications
You must be signed in to change notification settings - Fork 451
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
Upgrade from 3.2 to last 3.3.0-19 crashes due wrong type in substr(): Argument #3 #10445
Comments
This was introduced with pkp/ojs#4379 -- the call to |
The following patches should correct it:
@marcbria, I've added these directly to |
Wow... that was fast. :-) |
I confirm the patch works as expected. |
Describe the bug
When I upgrade from stable-3.2 to stable-3.3 (3.3.0-19) I got the following error:
After this, the upgrade exits and the system is unusable.
What application are you using?
Dockerized OJS 3.2.1-4 > 3.3.0-19.
Additional information
I tested it with multiple journals (from same origin and destination versions) and upgrade crashes with all of them.
If I upgrade to 3.3.0-18, upgrade finishes but a different error is shown (posted in #9953)... so looks like this is an issue introduced in -19.
If I upgrade to 3.3.0-17, all works as expected so then you can upgrade to 3.3.0-19 without any trouble (but it's not a workaround because in -17 the data of the reviewer's form is mixed as documented in #9953).
If you can't reproduce the issue with the standard "datasets", I can provide a DB dump.
The text was updated successfully, but these errors were encountered: