Project

General

Profile

Actions

Bug #38717

closed

strftime() expects parameter 2 to be long, string given

Added by Simon Schaufelberger over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
TypoScript
Target version:
Start date:
2012-07-06
Due date:
% Done:

100%

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

Description

The typoscript rendering process with stdWrap does not handle empty values corrent:

Warning: strftime() expects parameter 2 to be long, string given in \typo3\sysext\cms\tslib\class.tslib_content.php on line 2571

A simple example to reproduce it:

10 = TEXT
10 {
strftime = %d
}

in the date stdWrap this was fixed, see #30931


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #30931: date() expects parameter 2 to be long, string given in class.tslib_content.phpClosed2011-10-14

Actions
Related to TYPO3 Core - Task #40876: Add unit test for stdWrap_strftimeClosedJigal van Hemert2012-09-12

Actions
Actions #1

Updated by Jigal van Hemert over 12 years ago

  • Category set to TypoScript
  • Status changed from New to Accepted
  • Assignee set to Jigal van Hemert
  • Target version set to 4.5.18
  • Complexity set to easy
Actions #2

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12713

Actions #3

Updated by Simon Schaufelberger about 12 years ago

common guys, please merge that one. it has already been solved for the date function and this is just the same fix for the strftime function.

Actions #4

Updated by Gerrit Code Review about 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12713

Actions #5

Updated by Jigal van Hemert about 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF