Cannot rename field_data_commerce_shipping_method to field_deleted_data_25: table class="placeholder">field_deleted_data_25 already exists.

when I upgrade from 7.x-2.x-dev (2011-Dic-02) to beta1 I get the quoted error message from Drush. Can I just delete the table field_delete_data_25? What is this any how? If this is of a previous update, why isn't it simply deleted or why isn't it renamed to a unique table name?

Comments

googletorp’s picture

Status: Active » Postponed (maintainer needs more info)

This sounds like some error with Drupal. I think what we do is delete a field and create a new one. Deleting a field should rename the field from what it's name was to field_deleted_data_[ID].

Can you reproduce the error with a new install? Otherwise I'll just close this as unable to reproduce.

ñull’s picture

Well that is nice. A new install? What does that mean really? Should I build up my rather complex shop from scratch again and then try to upgrade again? That would probably take me a week or more. I don't have the time for that really.

I just wanted to report the bug and try to find out if tables called "field_deleted_data _[ID]" can be safely deleted. First time ever I came across something like that and was wondering if this was supposed to have been cleaned up and wasn't by whatever, drupal core or the shipping module. If it is just that, a clean up error, then I just wanted to get that confirmed. If it can be established that this is a Drupal Core bug, then we can pass it as such, but I don't know enough to confirm that.

The whole reason of reporting it (and not keeping if for myself) was the hope that there is a community that knows more and can either confirm of not whatever could be the cause of this.

googletorp’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
wouters_f’s picture

FWIW I am having the same error.
But it only came after messing with features.
Deleting a field, features (revert) recreating it and then re-deleting it :).