When you try to rename a field but you supply a field name that is too long, it clobbers the existing field. Seriously guys?

Comments

namklabs created an issue. See original summary.

rudi teschner’s picture

I'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.

Snehal Brahmbhatt’s picture

Status: Active » Needs review
StatusFileSize
new640 bytes

@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

summit’s picture

Could this patch be implemented please? Thanks in advance!

gisle’s picture

Status: Needs review » Reviewed & tested by the community

The patch installs cleanly and works as advertised.

gisle’s picture

Status: Reviewed & tested by the community » Fixed

This is fixed in the latest snapshot 7.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.