From 83ee72f4dbb828fb774400f1170bc965782c845e Mon Sep 17 00:00:00 2001 From: Jonas Raoni Soares da Silva Date: Fri, 19 Apr 2024 14:40:36 +0300 Subject: [PATCH 1/2] pkp/pkp-lib#9851 Updated migration to comply with its base class --- .../upgrade/v3_4_0/I7191_EditorAssignments.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/classes/migration/upgrade/v3_4_0/I7191_EditorAssignments.php b/classes/migration/upgrade/v3_4_0/I7191_EditorAssignments.php index 20dbc8640c..5eeedfd611 100644 --- a/classes/migration/upgrade/v3_4_0/I7191_EditorAssignments.php +++ b/classes/migration/upgrade/v3_4_0/I7191_EditorAssignments.php @@ -16,7 +16,18 @@ class I7191_EditorAssignments extends \PKP\migration\upgrade\v3_4_0\I7191_EditorAssignments { - protected string $sectionDb = 'sections'; - protected string $sectionIdColumn = 'section_id'; - protected string $contextColumn = 'server_id'; + protected function getSectionTable(): string + { + return 'sections'; + } + + protected function getSectionId(): string + { + return 'section_id'; + } + + protected function getContextId(): string + { + return 'server_id'; + } } From 90c79b60380c4f4fd54d46bdb903b742b6dbd3fb Mon Sep 17 00:00:00 2001 From: Jonas Raoni Soares da Silva Date: Fri, 19 Apr 2024 14:41:29 +0300 Subject: [PATCH 2/2] pkp/pkp-lib#9851 Submodule update ##jonasraoni/bugfix/main/9851-fix-editor-assignments-migration## --- lib/pkp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pkp b/lib/pkp index ee99c16c61..7a7439596e 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit ee99c16c616eca84aec819b4f16187db89c3a3a8 +Subproject commit 7a7439596edcd0fcdf73af166898fa3bb587085e