Bug #20601
closedafter Patch : "0011247: No labels in admin panel .." calls like "$BE_USER->extGetLL('p_deleteConfirm'));" are empty
0%
Description
in patch 0011247 the Local_Lang check is removed,
after that, calls in class_tslib.content.php
function editPanel() { ...
$BE_USER->extGetLL('p_deleteConfirm'));
}
are empty.
Now, if you delete an Element in FE, there is no Javascript Confirm Message (Are you sure you want to delete this record?)
(issue imported from #M11308)
Files
Updated by Oliver Hader over 15 years ago
What's the exact TYPO3 version you're working with?
Updated by Sven Juergens over 15 years ago
sorry, i forgotten
TYPO3 4.2.7 dev trunk 5575
Updated by Sven Juergens over 15 years ago
steps to reproduce
- install a clean trunk version of typo3 4.2.7 (and dummy package 4.2.6)
- create a page and a contentelement on that page
- create a TS Template and add css_style_content and add the following lines
- Default PAGE object:
...
page.20 < styles.content.get
config.admPanel = 1
now, go to the Frontend and activate in adminPanel > Typoscript> Display Edit Panels.
Now Delete the Record with the editpanel. There is no Javascript confirm with the Question "Are you sure you want to delete this record?" .
Now integrate again:
function extGetLL($key) {
+ global $LOCAL_LANG;
+ if (!is_array($LOCAL_LANG)) {
+ $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_tsfe.php');
+ #include('./'.TYPO3_mainDir.'sysext/lang/locallang_tsfe.php');
+ if (!is_array($LOCAL_LANG)) {
+ $LOCAL_LANG = array();
+ }
+ }
+
in t3lib/class.t3lib_tsfebeuserauth.php, line: 1009
and try again to delete a record in Frontend, now there is a confirm message.
Updated by Sven Juergens over 15 years ago
added a list with empty calls to $BE_USER->extGetLL(...) in tslib_content
the most annoying thing is, that there ist no Warning if you delete a record in FE
Updated by Björn Pedersen over 15 years ago
This also affects Typo3 4.2.8 if using pixe_feedit for frontend editing: No labels in AdminPanel and the pixe_feeedit menu.
Updated by Susanne Moog over 13 years ago
- Target version deleted (
0)
Is this still an issue with current versions of TYPO3? If so, can anyone push the patch to Gerrit?
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Closed
No response in over 1 year => closed.
Btw. I didn't experience such a problem in newer versions.