When updating from an old dev release (commit a16b03c) to beta5, I get the following error:

Failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal.commerce_shipment__' doesn't exist: UPDATE {commerce_shipment__} SET deleted=:db_update_placeholder_0; Array
(
    [:db_update_placeholder_0] => 1
)
CommentFileSizeAuthor
#4 fix-commerce_shipping_update_8200-3.patch558 bytesluksak

Comments

Lukas von Blarer created an issue. See original summary.

luksak’s picture

Title: Error when updating to beat5 » Error when updating to beta5
Issue summary: View changes
bojanz’s picture

This looks like one of those generic core errors that would be impossible for me to debug.
I can only wish you luck with your own debug process.

luksak’s picture

StatusFileSize
new558 bytes

I solved the issue by skipping the basfield updates and running entity updates manually afterwards. The attached patch skips the update.

Let's see if anyone else faces this issue...

bojanz’s picture

Status: Active » Fixed

Thanks!

Closing for now, people can apply the fix in #4 if they encounter the same problem.

Status: Fixed » Closed (fixed)

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