Project

General

Profile

Actions

Bug #55093

closed

Simulate time in TYPO3 admin panel broken due to Js TBE_EDITOR=="undefined"

Added by Peter Niederlag over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-17
Due date:
% Done:

100%

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

Description

Problem description

It is not possible to simulate a different date/time for the Frontend via the Admin-Panel.

Regardless of the format/string used to input the date it will be cleared after hitting the "Update"-Button and $GLOBALS['SIM_ACCESS_TIME'] will not be set.

Expected behaviour

The field used to behave like all date/time fields in TYPO3. You can enter 'n', 'd' or 't' to get current date or even add simple calculations like 'd+13' or 'd-10'. The JS will take care of updating the hidden field and transform the value into a unix timestamp and display a proper formatted date string (M:i d.m.Y).

You can also set a date in the format M:i d.m.Y

Problem Analysis

There is a fatal error in jsfunc_evalfield.js in a default installation without fe-editing enabled.

Uncaught ReferenceError: TBE_EDITOR is not defined)

Probably this problem disappears with Fe-Editing enabled or other additional extensions.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23935: Simulate time in the TYPO3 admin panel is being ignored.Closed2010-11-04

Actions
Related to TYPO3 Core - Bug #57296: TCA user defined JS eval function not called anymoreClosedAlexander Opitz2014-03-25

Actions
Actions #1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26895

Actions #2

Updated by Peter Niederlag over 10 years ago

Patch Set 1 has debug() statements for analysis (also for the patch of #23935)

Actions #3

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26895

Actions #4

Updated by Gerrit Code Review over 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26895

Actions #5

Updated by Gerrit Code Review over 10 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26895

Actions #6

Updated by Sebastian Verweyen over 10 years ago

This Bug is also present in version 6.1.7.

Actions #7

Updated by Gerrit Code Review over 10 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26895

Actions #8

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26983

Actions #9

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26984

Actions #10

Updated by Peter Niederlag over 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF