Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
block.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2005 at 11:29 UTC
Updated:
29 Sep 2006 at 19:45 UTC
When you add a custom block, with faulty PHP or HTML inside it, there is no way you can edit that block afterwards. The HTML of teh page itself is completely borken then.
Comments
Comment #1
Steve Dondley commentedThis bug has been around long before 4.7.0. Not sure it really qualifies as critical. Although a hassle, users can disable the block by manually setting block status to 0 in database. Downgrading to normal.
Comment #2
chx commentedUse a capable browser, like Opera where hitting back solves this problem.
Comment #3
Bèr Kessels commentedThis a bug. The priority is not that high. But it *is* a bug. maybe not for 4.7. But it *is* a bug.
Comment #4
chx commentedFixing this would mean adding special case to block_list so that on admin/block/* the custom blocks are not displayed, this is performance wise not good and I like to see immediately what I've done. If the block f!cks up the page, well, I use Opera. If you don't, you can edit the database and boxes table.
Yes it's a bug but I insist on not fixing it.
Comment #5
Bèr Kessels commentedThere are other ways: like checking the results of EVAL *before* save.
Comment #6
chx commentedWell, that could help somewhat the PHP blocks, true.
Comment #7
Egon Bianchet commentedComment #8
magico commentedThe only problem remaining is when showing the block: it will give an error. But drupal keeps running and functional allowing the block configuration.
Comment #9
(not verified) commented