Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
theme system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
15 Oct 2005 at 12:48 UTC
Updated:
25 Jan 2006 at 09:07 UTC
I am using a CVS download from 10/12: // $Id: system.module,v 1.240 2005/10/11 19:44:35 dries Exp $
The theme *always* displays the default logo and *never* displays the site slogan after these options are deselected and selected (respectively).
To reproduce:
1) Go to: Administer/Themes/
2) Deselect "Use default logo" in Logo image settings area
3) Select "Site slogan" in Toggle display settings area
4) Save configuration
5) System responds with "The configuration options have been saved."
However, the options are not saved.
I am using the default installation with only the poormanscron contributed module added.
Comments
Comment #1
chx commentedfixed in
// $Id: system.module,v 1.241 2005/10/13 10:02:31 unconed Exp $use a cvs checkout not the tarball.Comment #2
Donovan commentedThe problem persists with Default logo.
I updated modules, includes, etc. with latest CVS files: // $Id: system.module,v 1.241 2005/10/13 10:02:31 unconed Exp $
The Site slogan settings issue is fixed; but the Default logo settings still are not being saved.
Comment #3
chx commentedComment #4
gtcaz commentedOther settings also are not saved, like:
Oct 18, 2005 CVS checkout.
Comment #5
Thox commentedConfirmed. The only settings which save on the admin/themes/settings page are the "Toggle display" checkboxes at the bottom.
This affects all themes.
Comment #6
pfaocleComment #7
pfaocle(also confirmed on 25/10 HEAD)
Comment #8
chx commentedComment #9
Tobias Maier commentedi downloaded the current cvs-head of drupal
and tried to toggle things like "Secondary links" but nothing changed.
and at the tabs there are only this two links shown:
* global settings
* bluemarine
regardless if I activated more themes or if i unacitvated bluemarine...
Comment #10
Tobias Maier commentedafter some clicking around the missing tabs got shown (I dont know what I did)
but now I disabled again some themes and the the tab does not get changed again
Comment #11
Tobias Maier commentedsame problem mentioned here: http://drupal.org/node/33700
Comment #12
robin monks commentedMy head is spinning from this bug...is this open, closed, fixed; or a mixture of the above?
Robin
Comment #13
Robrecht Jacques commentedThis still doesn't work!
For example:
$Id: system.module,v 1.247 2005/10/26 01:24:09 unconed Exp$Idin this file, but it is version1.8admin/theme/settings) as expected_form_builder$_POST['edit']['toggle_site_slogan']is not set (not present) which causes the function to set it to#default_valueinstead of to 0.Either system.module uses form.inc wrongly, or there is something fundamentally wrong with form.inc concerning checkboxes.
Comment #14
asimmonds commentedI've looked into the checkboxes issue: http://drupal.org/node/35816
Comment #15
Robrecht Jacques commentedAlso the "Reset to defaults" doesn't work:
admin/theme/settingsSo, the variable is unset (I have checked this with the "variable viewer" of devel.module), but when you press the "Reset to defaults" the form values are not filled in correctly!
Comment #16
Robrecht Jacques commentedI can confirm that the patch of #14 fixes the unsetting of a checkbox.
It doesn't fix the "Reset to defaults" issue (comment #15).
I have no clue whether the solution presented is a correct one.
Comment #17
Thomas Sewell commentedI can also confirm the information in #16.
However, there is what appears to be another related issue with forms that is still not fixed.
To recreate:
1. Edit a node (Example /node/4/edit, number will vary, of course) that has been published to the front page.
2. In the publishing options, uncheck "Promoted to front page".
3. Click "Submit". The value in the database will change and the node will be removed from the front page.
4. Return to the edit page.
5. "Promoted to front page" defaults to checked, BUT the value in the database still reflects being unchecked.
So of course, it will reset any time you modify the node, but do not go and reset the check box.
I've tested this with story and poll, so it doesn't seem to be node type related. Similar behavior occurs with the other checkboxs on the page, such as "Sticky at top of lists", so it's not specific to the front page promotion option.
Tested using cvs as of today, php 5.0.5, MySQL 5.0.15, Apache 2.0.55, IE 6.
Comment #18
chx commentedPlease check the patch at http://drupal.org/node/35816 (mine, not asimmonds).
Comment #19
Thomas Sewell commentedReversed asimmonds' patch, applied chx's from http://drupal.org/node/35816, confirmed the same behavior as noted above.
Comment #20
adrian commentedI'm taking a look at it now.
Comment #21
asimmonds commentedThomas' issue in #17 sounds very much like http://drupal.org/node/7940 ?
Comment #22
Thomas Sewell commentedMy issue in #17 is the same issue as http://drupal.org/node/7940 and apparently "By Design". I've added my comments about violating the "Principle of Least Astonishment" there on the side of those who want to change the design so that hidden options aren't unexpectedly reset.
In other words, similar behavior, but not the same bug as this issue (34170) is, so carry on.
Comment #23
Steve Dondley commentedThis issues is no longer reproducible. Setting to fixed.
Comment #24
(not verified) commented