When you try to rename a field but you supply a field name that is too long, it clobbers the existing field. Seriously guys?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | field_rename-2782179-3.patch | 640 bytes | Snehal Brahmbhatt |
| Screen Shot 2016-08-10 at 11.39.34 AM.png | 96.67 KB | namklabs |
Comments
Comment #2
rudi teschner commentedI've had the same problem recently and my "workaround" to fix the database issues that follow this error is to restore data and revision table, else the cronjobs will continue to mourn the missing table when deleting fields.
Comment #3
Snehal Brahmbhatt commented@namklabs, Please find the below-attached patch for the same, here I added the max length validation for the new field name. Hope this works for your requirement.
Thanks
Comment #4
summit commentedCould this patch be implemented please? Thanks in advance!
Comment #5
gisleThe patch installs cleanly and works as advertised.
Comment #7
gisleThis is fixed in the latest snapshot 7.x-1.x-dev.