Closed
Bug 538315
Opened 16 years ago
Closed 16 years ago
Image exterminator is not working
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.5.3
People
(Reporter: cilias, Assigned: paulc)
Details
Attachments
(1 file)
|
1.72 KB,
patch
|
jsocol
:
review+
|
Details | Diff | Splinter Review |
1. Go to <https://support.mozilla.com/tiki-admin.php?locale=en-US&page=gal>.
2. Scroll down to the "Exterminator" section and click [Remove]. Let the page finish processing.
3. Go to <https://support.mozilla.com/tiki-editpage.php?locale=en-US&page=*For%20Internet%20Explorer%20Users>.
At the bottom of the editor, there are a bunch of images that are not used in the article. They should have been removed by the exterminator.
| Reporter | ||
Comment 1•16 years ago
|
||
More info:
After I click on [Remove], I get sent to a blank page. (after some time of processing)
| Reporter | ||
Comment 2•16 years ago
|
||
Moving to 1.6. We've had 2 instances today of this today (now that I know to be suspicious of article edits, in which there is no difference in the markup).
https://support.mozilla.com/tiki-editpage.php?locale=en-US&page=*Options%20window%20-%20General%20panel
https://support.mozilla.com/tiki-editpage.php?locale=en-US&page=*Will%20Firefox%20work%20on%20Windows%207
One could easily upload a pornographic image, and we wouldn't be able to remove it.
Severity: normal → major
Target Milestone: --- → 1.6
Comment 3•16 years ago
|
||
Chris: Is this a tiki feature, or did we add it? If it's the former, let's test it on tiki-trunk.m.c and see if this is still a bug. If it's the latter, we probably need to get that upstreamed.
Whiteboard: tiki_test
| Reporter | ||
Comment 4•16 years ago
|
||
It was implemented in bug 449440.
Comment 5•16 years ago
|
||
It looks like this functionality may be substantially different in Tiki 5, (bug 449440 comment 22) so we should probably verify that the problem exists at all on tiki-trunk.m.c (once it's stable, anyway).
| Reporter | ||
Updated•16 years ago
|
Target Milestone: 1.6 → 1.5.3
Updated•16 years ago
|
Assignee: nobody → laura
Updated•16 years ago
|
Assignee: laura → nobody
| Assignee | ||
Comment 6•16 years ago
|
||
I can have a crack at this one sometime this week. No idea how it works yet but how bad could it be? (Don't answer that)
Assignee: nobody → paulc
Whiteboard: tiki_test
| Reporter | ||
Comment 7•16 years ago
|
||
FWIW, it looks like this broke around the time of sumo 1.5.
| Assignee | ||
Comment 8•16 years ago
|
||
This patch makes some improvements to the performance of the exterminator function and adds an ignore_user_abort to keep the script running (thanks to James for the latter).
Moving all the array_unique()s out helped a lot (basically takes half the time now).
Attachment #433204 -
Flags: review?(james)
Comment 9•16 years ago
|
||
Comment on attachment 433204 [details] [diff] [review]
v1, perf improvements and ignore_user_abort
WFM.
For testers: you may still see blank pages (time outs) while running the image exterminator, but the process should continue in the background, and will eventually complete.
Attachment #433204 -
Flags: review?(james) → review+
| Assignee | ||
Comment 10•16 years ago
|
||
r64320/r64321
Chris, please test this on stage now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 11•16 years ago
|
||
The images from prod on not on stage, so I added an image to <https://support-stage.mozilla.com/en-US/kb/Will%20Firefox%20work%20on%20Windows%207>, approved it, then removed it and approved that removal.
I then went to <https://support-stage.mozilla.com/tiki-admin.php?locale=en-US&page=gal>, and ran the image exterminator. Now when I go to <https://support-stage.mozilla.com/tiki-editpage.php?locale=en-US&page=*Will%20Firefox%20work%20on%20Windows%207>, the image is not available.
Thanks a lot!
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 12•16 years ago
|
||
So verified on prod now! :-) And it doesn't even time out!
| Assignee | ||
Comment 13•16 years ago
|
||
Woot!
Comment 14•16 years ago
|
||
(In reply to comment #13)
> Woot!
Woot, indeed! Nice work, Paul.
| Assignee | ||
Comment 15•16 years ago
|
||
Thank you James. You deserve credit for the ignore_user_abort() part though :)
You need to log in
before you can comment on or make changes to this bug.
Description
•