Bug #21709
closed
Recycler does not show up
Added by Frank Sonck almost 15 years ago.
Updated almost 15 years ago.
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
Can you please add a screenshot of that misbehaviour? Thanks!
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.
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.
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...
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.
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.
Please test the attached patch which should solve the problem.
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.
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.
At the upper right of the white area there is this scrollbar next to the text saying "Table:"...
You used it, right?
Frank, the patch solves showing the recycler at all but does not change anything concerning searching for records.
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)'.
Committed to SVN Trunk (rev. 6582)
Frank, please create a new bugreport concerning your problems. Thanks!
Also available in: Atom
PDF