Project

General

Profile

Actions

Bug #20601

closed

after Patch : "0011247: No labels in admin panel .." calls like "$BE_USER->extGetLL('p_deleteConfirm'));" are empty

Added by Sven Juergens almost 15 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-06-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

empty_extGetLL_calls.txt (2.43 KB) empty_extGetLL_calls.txt Administrator Admin, 2009-07-02 16:39

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20550: No labels in admin panel when editing a content element in the frontendClosedOliver Hader2009-06-02

Actions
Actions #1

Updated by Oliver Hader almost 15 years ago

What's the exact TYPO3 version you're working with?

Actions #2

Updated by Sven Juergens almost 15 years ago

sorry, i forgotten

TYPO3 4.2.7 dev trunk 5575

Actions #3

Updated by Sven Juergens almost 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

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

Actions #4

Updated by Sven Juergens almost 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

Actions #5

Updated by Björn Pedersen almost 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.

Actions #6

Updated by Susanne Moog over 12 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?

Actions #7

Updated by Alexander Opitz almost 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.

Actions

Also available in: Atom PDF