Bug #55093
closedSimulate time in TYPO3 admin panel broken due to Js TBE_EDITOR=="undefined"
100%
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.
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
Updated by Peter Niederlag over 10 years ago
Patch Set 1 has debug() statements for analysis (also for the patch of #23935)
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
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
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
Updated by Sebastian Verweyen over 10 years ago
This Bug is also present in version 6.1.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
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
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
Updated by Peter Niederlag over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 485ef58fdf00fe1be1710ba86b7eaae232218380.