This is rather a specific bug that I've spent this evening trying to get to the bottom of. I have a site where numerous product attributes have a lot of options within them (up to 130 in one). When you assign an attribute, that contains more than 47 options, to a product then go to the options page to pick which options should be used then after submission any changes are not saved.
I'm not sure if it's a problem with the html form or the code which processes the results - uc_object_options_form_submit? - but it definitely works for me with 47 options or less and not with any number greater than that. I've tried FF3, IE7/8 and the latest Opera. I'm just about to try a clean installation of 1.4 but I've done a lot of searching and can't see this issue mentioned anywhere else.
Cheers,
Will



Re: Attributes with more than 47 options bug
Perhaps not as clean cut as I thought. Just done a fresh installation of 1.4 (the deluxe package) and it seems to have problems even with 47 or less attributes. I suspect it's more an issue of the number of select options. I'm gonna call it a night but I wonder if anyone else can reproduce this? Perhaps it's my server.
Re: Attributes with more than 47 options bug
Does anyone have any ideas where I might start with tracking this one down?
Re: Re: Attributes with more than 47 options bug
I've been trying to make at least some progress in tracking this problem down and so far all I can tell is that uc_object_options_form_validate is never called up in this situation of too many options. With a smaller number of option the breakpoint messages that I've inserted are all hit. Where do I need to look in order to step back a stage? I mean, where is uc_object_options_form_validate called up from?
Any help is greatly appreciated, thanks!
Fixed
Solution here: http://drupal.org/node/320418#comment-1057758