Closed (fixed)
Project:
Ubercart Product Keys
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Jan 2010 at 23:20 UTC
Updated:
12 Feb 2010 at 14:20 UTC
The check in uc_product_keys_list_sequences_form_submit that works out if a sequence has been altered does not work if a fields #default_value is NULL.
So if a non-mandatory field is left blank when the sequence is initially created it then fails to update later due to a check for isset($item['#default_value']).
This patch addresses this problem.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_product_keys_dirty.patch | 708 bytes | agileware |
Comments
Comment #1
freixas commentedThanks. I'll add the patch as soon as I get a moment to work on this project.
Comment #2
freixas commentedSounds reasonable. Thanks for catching this!
I applied your patch. The fix will appear in the next dev version dated 1/25/10 or later.