Closed (fixed)
Project:
Promotion
Version:
5.x-1.7
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
19 Jun 2007 at 14:10 UTC
Updated:
25 Jul 2007 at 15:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
steingard commentedI ended up clicking the "reset to defaults" button in hopes that it does 'uncheck' this feature in the db.
Hopefully you can get it fixed up nicely in the near future for yourself.
Cheers
Comment #2
zostay commentedThis patch should fix it. I don't have time to test it and apply it just now, but I provide the patch until I have that time. If someone can give me feedback on whether it works, that would be great. Hopefully, I'll have time later this week to get back to it.
The form itself is working correctly, it's just not showing the current value when the form is reloaded. So whatever value you set when you click on the Save button will be set, it just want give you any feedback.
Comment #3
zostay commentedFixed a typo in the patch.
Comment #4
steingard commentedWhen I added this line, I got a pile of warnings similar to below (on the promotion settings page):
warning: Cannot use a scalar value as an array in /var/www/drupal/includes/form.inc on line 779.
.........
# warning: uasort() [function.uasort]: The argument should be an array in /var/www/drupal/includes/common.inc on line 2119.
# warning: Cannot use a scalar value as an array in /var/www/drupal/includes/common.inc on line 2150.
# warning: Cannot use a scalar value as an array in /var/www/drupal/includes/common.inc on line 2161.
Comment #5
zostay commentedThat's odd. I'm not able to reproduce any such behavior on our production server and didn't notice them when I initially tested it on my dev box.
I still don't have a whole lot of time available to dedicate to this, though, so I might be missing something.
Comment #6
decafdennis commented+1 for the patch.
@tsteingard, you probably forgot to add a # when adding the line. You could better use patch to apply the patch automatically.
Comment #7
zostay commentedI'll get to it as soon as I can. I've been swamped with work on our web site and I've got vacation coming up. It might be the second week of July before there's another release.
Comment #8
zostay commentedShould have updated this before. I've been using this patch on my local working copy and it works great. I will apply it to HEAD if I haven't already.
Comment #9
zostay commentedApplied to HEAD and will be part of the 1.8 release.
Comment #10
(not verified) commented