Skip to content

Commit c344438

Browse files
Fixes problem that caused conflict with other plugins in step 3
Issue: documentacao-e-tarefas/scielo#780 Signed-off-by: Jhon <jhon@lepidus.com.br>
1 parent f6ed4a0 commit c344438

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

ScieloScreeningPlugin.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,15 @@ public function addValidationToStep3($hookName, $params)
158158
$inputNumberAuthors = (int) $form->getData('inputNumberAuthors');
159159
$checkCantScreening = (int) $form->getData('checkCantScreening');
160160

161-
Services::get('submission')->edit(
161+
$newSubmission = Services::get('submission')->edit(
162162
$submission,
163163
[
164164
'inputNumberAuthors' => $inputNumberAuthors,
165165
'checkCantScreening' => $checkCantScreening
166166
],
167167
Application::get()->getRequest()
168168
);
169+
$form->submission = $newSubmission;
169170

170171
$checker = new ScreeningChecker();
171172
$authors = $submission->getAuthors();

version.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<version>
99
<application>scieloScreening</application>
1010
<type>plugins.generic</type>
11-
<release>1.5.7.0</release>
12-
<date>2025-05-28</date>
11+
<release>1.5.8.0</release>
12+
<date>2025-06-03</date>
1313
<lazy-load>1</lazy-load>
1414
<class>ScieloScreeningPlugin</class>
1515
</version>

0 commit comments

Comments
 (0)