Project

General

Profile

Actions

Bug #21709

closed

Recycler does not show up

Added by Frank Sonck over 14 years ago. Updated over 14 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Tried this on Firefox 3.5.5 with Ubuntu 9.10

I create a CE (for example type image or text) and then delete it. I see it in the list of non-used elements. I select the recycler module. The recycler window is empty: no elements are shown. I select whatever page in the site tree but the window remains empty.
I can't undelete the CE.

(issue imported from #M12788)


Files

Recycler.jpg (87 KB) Recycler.jpg Administrator Admin, 2009-11-27 17:34
recycler.png (69.1 KB) recycler.png Administrator Admin, 2009-11-27 18:52
0012788.patch (916 Bytes) 0012788.patch Administrator Admin, 2009-11-28 17:11

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21728: Core labels need to be utf-8 before json_encodeClosedSteffen Kamper2009-11-28

Actions
Actions #1

Updated by Oliver Hader over 14 years ago

Can you please add a screenshot of that misbehaviour? Thanks!

Actions #2

Updated by Chris topher over 14 years ago

I attached a screenshot.
But: My problem seems to be different from the one Frank has.
Mine seems to be caused by the language chosen in the BE!
Therefore I opened a new bug report here: #21725.

Actions #3

Updated by Frank Sonck over 14 years ago

I've added recycler.png. I see a little bit more than Christopher but the form is empty also. On this screenshot I had selected the page where just before I had deleted a CE.

Actions #4

Updated by Oliver Hader over 14 years ago

Thanks! By having a look at the screenshot I realized that both of you use a localized backend to your native language. Maybe some untranslated labels are the reason for this misbehaviour. I'm goint to check that...

Actions #5

Updated by Chris topher over 14 years ago

Before you have the work:
See my comment in #21725:
The first label, which is not shown, if using a German BE, contains an umlaut...
Removing this umlaut makes the string show up in the source.

Actions #6

Updated by Oliver Hader over 14 years ago

Checked again. Label fall-back works as expected for non-translated labels.
But if the backend is used in non UTF-8 mode (forceCharset in Install Tool not set to "UTF-8"), it shows several JavaScript errors.

Actions #7

Updated by Oliver Hader over 14 years ago

Please test the attached patch which should solve the problem.

Actions #8

Updated by Chris topher over 14 years ago

The patch solves the problem.

I know that the same code was copied to some other places (t3editor and feeditadvanced).

I have notified the authors to have a look at this change.

Actions #9

Updated by Frank Sonck over 14 years ago

With or without the patch doesn't make any difference. The only record that shows up in the recycler is a deleted record (Serbia Montenegro) from Countries table when pid=0 is selected in the page tree.
The CE that I deleted on another page is nowhere to be seen in the recycler.
Maybe I misunderstand the functionality of the recycler although "The recycler allows you to select any deleted data and undelete it" sounds quite straightforward.

Actions #10

Updated by Chris topher over 14 years ago

At the upper right of the white area there is this scrollbar next to the text saying "Table:"...
You used it, right?

Actions #11

Updated by Oliver Hader over 14 years ago

Frank, the patch solves showing the recycler at all but does not change anything concerning searching for records.

Actions #12

Updated by Frank Sonck over 14 years ago

Yes. It's a drop-down box.

When I'm on the page where I deleted a CE (text w image, that I can see in the 'non-used elements tab') this drop-down has 'no records for pages' as the only (active) option. The other option 'All tables (0)' is greyed out.

When I'm on root page pid=0 the drop-down has 2 options: 'All tables(1)' and 'Countries (1)'.

Actions #13

Updated by Oliver Hader over 14 years ago

Committed to SVN Trunk (rev. 6582)

Actions #14

Updated by Oliver Hader over 14 years ago

Frank, please create a new bugreport concerning your problems. Thanks!

Actions

Also available in: Atom PDF