Bug #84588

Int values for field will be converted to unix timestamp in module "DB check" -> Full search

Added by Manuel Selbach over 3 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2018-04-03
Due date:
% Done:

100%

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

Description

With the change in https://forge.typo3.org/issues/83675 every value will be converted into a unix timestamp even if you specify e.g. a UID or PID.

Example:

PID: 5134

This will bring back 99854182152 and the if condition is true in the introduced code:

if  (strtotime($conf['inputValue'])) {
    $conf['inputValue'] = strtotime($conf['inputValue']);
    if ($conf['inputValue1'] && strtotime($conf['inputValue1'])) {
        $conf['inputValue1'] = strtotime($conf['inputValue1']);
    }
}

Related issues

Related to TYPO3 Core - Bug #83675: DB Check : Full search : Advanced Query calendar problemClosed2018-01-24

Actions
Related to TYPO3 Core - Bug #89154: QueryGenerator::cleanInputVal() - do not call strtotime on timestampClosed2019-09-12

Actions
Related to TYPO3 Core - Bug #87710: DB check module: Building a database query where sys_language_uid=-1 not possibleClosed2019-02-13

Actions

Also available in: Atom PDF