Posted by Piros on October 26, 2009 at 5:11pm
Jump to:
| Project: | Registration codes |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi,
After I updated to the latest version 6.x-1.4 I cannot see my generated codes any more. I always get the message » No codes found. I do not get any filters either in the List tab. I do not get any errors when creating the codes. I have checked my database and there are records in regcode table. I tried to delete and reinstall the module but it doesnt help.
Thanks for the help.
Comments
#1
Hi,
I think there might be something funny going on with the new filtering system ... can you go into your database and delete all of the variables starting with regcode?
e.g.: DELETE FROM variables WHERE key LIKE 'regcode%'
#2
Yes, thank you! That helped. Are you planning to add additional filters for the regcode list, like user ID or registration code?
Thanks.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
This is not a very good start! I am using a fresh install of dev. I have just added some new codes and yet they cannot be found when completing the registration form! They are in the table and visible on the List form.
Secondly DELETE FROM variables WHERE key LIKE 'regcode%' is wrong? Shouldn't it be DELETE FROM variable WHERE name LIKE 'regcode%'. Even then, won't that simply remove any configuration that has already been set up?
Thirdly, most people wouldn't consider it "fixed" if users have to go into a database and manually delete records - especially from a table so central to Drupal's workings as variable. Mis-typing something could do untold damage...
In any case, why would deleting make something appear - surely deleting makes things (records) disappear?!
I'm confused!
#5
Firstly, take a deep breath.
Secondly, If you can't handle deleting some rows from a database table, then you need to reconsider developing for Drupal.
The variables table holds settings, not regcode rows. Deleting regcode's rows from the variables table allows the list page to function correctly if things were corrupted during the upgrade, which is what appears to happen.
I'll leave this bug report open for the moment, but it's unlikely I'll get time any time soon to fix this in the 1.x stream.
Note: This issue does not affect the 2.x stream, so I've changed the version on this bug report back.
#6