Bug #55093

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

Added by Peter Niederlag over 8 years ago. Updated over 3 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

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
#1

Updated by Gerrit Code Review over 8 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

#2

Updated by Peter Niederlag over 8 years ago

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

#3

Updated by Gerrit Code Review over 8 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

#4

Updated by Gerrit Code Review over 8 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

#5

Updated by Gerrit Code Review over 8 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

#6

Updated by Sebastian Verweyen over 8 years ago

This Bug is also present in version 6.1.7.

#7

Updated by Gerrit Code Review over 8 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

#8

Updated by Gerrit Code Review over 8 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

#9

Updated by Gerrit Code Review over 8 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

#10

Updated by Peter Niederlag over 8 years ago

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

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF