When editing a profile item, the current code tries to "exeucte" a query instead of executing it, and tries to pass form_build_id, op, and other fields to the profile fields. The patch fixes this.
Of course, as soon as flobruit's patch at #394720: Migrate profile module data to field API to kill profile module and migrate its data to fields goes into core, this won't be a problem anymore, but in the meantime, it can help.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | profile_admin_4.patch | 1.14 KB | fgm |
| #5 | profile_admin_3.patch | 1.14 KB | fgm |
| #2 | profile_admin_2.patch | 1.09 KB | fgm |
| profile_admin.patch | 1.07 KB | fgm |
Comments
Comment #2
fgmRerolling.
Comment #3
jim0203 commentedApplies fine, fixes typo in "execute", and strips out a load of junk that doesn't need to be passed to db_update. Pass.
Comment #4
catchIndentation is off here, but otherwise rtbc.
Comment #5
fgmRerolled agains today's HEAD.
Comment #6
fgmAh, there was a stray TAB :-(
Comment #7
gopherspidey commented#6: profile_admin_4.patch queued for re-testing.
Comment #9
mr.baileysDuplicate of – and fixed by – #493520: Profile fields cannot be updated