Project

General

Profile

Actions

Bug #44229

closed

Scheduler do not respect field names with name space

Added by Michael Staatz almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2012-12-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

Schedulertask "Convert user passwords to salted hashes (saltedpasswords)" has an additional Field, labeld "The number of records to process on each run".

Since the fieldname is:

$fieldName = 'TYPO3\\CMS\\Scheduler\\Scheduler[scheduler_saltedpasswordsBulkUpdateNumberOfRecords]';

the validation of this field returns FALSE, because &$submittedData in the method "validateAdditionalFields" does not include that data.

When you change it to:

$fieldName = 'tx_scheduler[scheduler_saltedpasswordsBulkUpdateNumberOfRecords]';

it will work as you expect.

files is: typo3/sysext/saltedpasswords/Classes/Task/BulkUpdateFieldProvider.php

I think this affect the hole Scheduler.

best,
Michael

Actions #1

Updated by Michael Staatz almost 12 years ago

The main Problem is in typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php line 158:

$this->submittedData = \TYPO3\CMS\Core\Utility\GeneralUtility::_GPmerged('tx_scheduler');

best,
Michael

Actions #2

Updated by Wouter Wolters almost 12 years ago

This one is already fixed and will be packed with 6.0.1

Actions #3

Updated by Michael Staatz almost 12 years ago

Wouter Wolters wrote:

This one is already fixed and will be packed with 6.0.1

Michael Staatz wrote:

Be so kind an point me to the fixed code because in the Git - Version of the TYPO3 Core the >SchedulerModuleController.php seems to be the same.

Found it by my self.

Best,
Michael

Actions #4

Updated by Nicole Cordes over 11 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF