Closed NateWr closed 1 year ago
probably a duplication of https://github.com/pkp/pkp-lib/issues/8766
Yep, looks like the same.
And the exception is just an error_log(new Exception('...'))
that I've added to capture the "context" before switching to the default locale.
Describe the bug When upgrading from
stable-3_3_0
tomain
, I get anInvalidArgumentException
because the migration finds data with theen_US
locale key and tries to set that as the current locale.This exception does not seem to cause the upgrade to fail.
To Reproduce Steps to reproduce the behavior:
stable-3_3_0/psql
database dataset into a database.config.inc.php
of amain
branch checkout to that database.php tools/upgrade.php upgrade
What application are you using?
main
branch (3.4 pre-release), PHP 8.1.16, Postgres 14.7Additional information This effects several migrations. Exception 1:
Exception 2:
Exception 3: