Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using Commerce Kickstart 2.x. It seems that they are not using body_summary in field_data_body and field_revision_body, which makes provision fail on migration or restore task in deploy_d7.inc, because it tries to update the field without checking whether it is present.
Related to #1681570: No column body_summary in Kickstart v2?
Comments
Comment #1
lsolesen CreditAttribution: lsolesen commentedSeems to be fixed in HEAD, but just not included with BOA.
Comment #2
lsolesen CreditAttribution: lsolesen commentedMoving to Barracuda to get the latest provision included, so this error will disappear.
Comment #3
omega8cc CreditAttribution: omega8cc commentedNot sure what you mean? I think this code was never included in Provision, only in the Provision fork we are using in BOA. Anyway, please provide more details, with errors reported in tasks and please follow bug submission guidelines.
Comment #4
omega8cc CreditAttribution: omega8cc commentedWe have tested this from Commerce Kickstart 1.0-rc7 to Commerce 1.9.1 and there are no issues like reported, so closing.
Comment #5
7wonders CreditAttribution: 7wonders commentedI just got this problem with commerce_kickstart-7.x-2.x-dev on my test environment. Basically if trying to migrate (i was just trying to rename my dev site) it fails with:
WD php: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'body_summary' in 'field list': UPDATE {field_data_body} SET body_summary = REPLACE(body_summary, :old, :new); Array ( [:old] => sites/$old_url [:new] => sites/$new_url ) in include_once() (line 31 of /data/disk/o1/.drush/provision/platform/drupal/deploy_7.inc).
Ive put back to active as it may not be a major problem now as commerce_kickstart 2 isnt an official package yet but im sure it will be :)
Comment #6
lsolesen CreditAttribution: lsolesen commentedI altered deploy_7.inc manually checking whether the field is available before making changes to it:
Comment #7
omega8cc CreditAttribution: omega8cc commentedFix committed in http://drupalcode.org/sandbox/omega8cc/1074910.git/commit/7daaed3
Thanks!
Comment #9
fhdrupal CreditAttribution: fhdrupal commentedGet this error when saving products, PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'body_summary' in 'field list'. I have got latest Commerce Kickstart, it happened when I enabled a few fields modules came with it. any help please.
Comment #10
fhdrupal CreditAttribution: fhdrupal commentedHas anyone got the solution for that yet?
Comment #11
omega8cc CreditAttribution: omega8cc commented@fhdrupal As far as I know, this issue has been fixed a long time ago. Please open new issue with proper report and all required details *if* you experience it on the latest BOA version.
Comment #12
omega8cc CreditAttribution: omega8cc commented@fhdrupal Also, your issue sounds completely unrelated here.
Comment #13
fhdrupal CreditAttribution: fhdrupal commentedI am sorry, it may not be exactly the same issue but, I am getting the same error when I save products contents. I checked the deploy_7.inc given in the patch but, cant find where it is.
Comment #13.0
fhdrupal CreditAttribution: fhdrupal commentedAdded related issue.