Closed (duplicate)
Project:
Commerce Kickstart
Version:
7.x-2.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2012 at 17:55 UTC
Updated:
10 May 2013 at 09:09 UTC
I've found that enabling the media_internet, and media_youtube compontent modules creates some strange errors. Namely
WD php: FieldException: Cannot change an existing field's type. in [error] field_update_field() (line 234 of /var/aegir/platforms/commerce_kickstart/modules/field/field.crud.inc).
Not totally sure what the problem is but will investigate - might be a more general drush error?
Comments
Comment #1
GANYANCI commentedPlease look at this patch:
http://drupal.org/files/1664160-02-catch-field-exception-when-rebuilding...
and this topic:
http://drupal.org/node/1664160#new
Comment #2
bojanz commentedAdd some debugging (the patch from #1 will do) and see WHICH field is being changed when the fail happens. Otherwise we won't be able to debug this.
Comment #3
billie.griffith commentedI am new to drupal. I am a small business owner that is trying to build a site. I know nothing about scripting, language, websites, etc. All I know is that I have a place to log in at siteguard.com and then my page that I am working on. I was trying to install modules. Some of them required modules that were missing, so I began downloading the missing modules. I don't know what the last module was, but after I installed a module and possibly tried to enable it, the above error came up. I would love to go in and add another module to fix it, or to go under modules and press uninstall, but I can't access modules at all now. The only thing that comes up is the error. Can someone please tell me how to fix this? I have no content on my site yet, so I would be happy to reinstall it, but I don't even know how to do that. This is really frustrating. I don't understand how to use a patch and if a file needs to be deleted and reinstalled, I have no idea which one. I need an explanation in plain English, not computer lingo! Thank you so much for any help you can give me!
Comment #4
icampanaHi,
I added the patch from #1 and now I got these messages on the watchdog list:
2446764 04/Abr 15:50 notice features Rebuild completed for commerce_kickstart_lite_product / field.
2446754 04/Abr 15:50 error features Attempt to update field body failed: Cannot change an existing field's type.
2446753 04/Abr 15:50 notice features Rebuilding commerce_kickstart_lite_product / field.
Seems like the feature is trying to make some alteration to the body field, the only reason I could think of is some change to the product display, but if you already have a store setup and try to update this would fail, that's at least my case. At least now with the patch it doesn't fail every time I try to clear the cache.
Comment #5
billie.griffith commentedhow do you install a patch?
Comment #6
bojanz commented"Attempt to update field body failed" will need to be fixed in #1660968: Revert: replace default body fields of type text_with_summary with ones of type text_long.