Update function is referring to a not existing column
BenKewell - August 11, 2009 - 14:49
| Project: | Custom filter |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | 6.x-1.0-beta8, 6.x-2.0-beta4 |
Jump to:
Description
Update #6107 failed with message:
Failed: ALTER TABLE {customfilter_filters} CHANGE fid `fid` TINYINT NOT NULL DEFAULT 1, ADD PRIMARY KEY (rid)and
user warning: Key column 'rid' doesn't exist in table query: ALTER TABLE ktmss__customfilter_filters CHANGE fid `fid` TINYINT NOT NULL DEFAULT 1, ADD PRIMARY KEY (rid) in /home/ktmss/www/www/includes/database.mysql-common.inc on line 520.seems to be a typo in the code, primary key should be `fid` not `rid`

#1
The problem has been fixed.
Thanks again for the report.
#2
I am going to create a new beta version that contains the bug fix.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.