Searched a little more and perhaps I'm correct this time that I haven't seen anyone else with this issue. I've upgraded all dependencies to dev, and can finally see the product listing (which I couldn't see in my previous setup that created #1105048: Can't save new products with certain fields?)
Anyways, now when saving the product, I get a nice happy "Product saved." message, and then immediately afterward:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.data' in 'field list': SELECT base.product_id AS product_id, base.sku AS sku, base.type AS type, base.language AS language, base.title AS title, base.uid AS uid, base.status AS status, base.created AS created, base.changed AS changed, base.data AS data FROM {commerce_product} base WHERE (base.product_id IN (:db_condition_placeholder_0)) ; Array ( [:db_condition_placeholder_0] => 1 ) in DrupalDefaultEntityController->load() (line 196 of /var/www/includes/entity.inc).
Pretty obviously the "data" field is nowhere to be found in commerce_product, and yet there it is in the commerce_product_schema() hook.
Should I could create the column by hand, or possibly re-install the commerce_product module? (a little tricky as it's a dependency)
Comments
Comment #1
techninja commentedImpatience calls... I added the field in by hand and it works, no errors at all. My guess is that at some point in the past the field didn't exist and I missed the update that added it.. or something like that. If this isn't happening to anyone else, I don't really see a point in keeping this ticket active.
Comment #2
rszrama commentedWe didn't support database schema updates during the alphas. This field and several others were added between alpha5 and beta1/2, so it's likely you're missing other fields, too. This was pretty well documented, but we are supporting database schema updates from here on out.