Data too long for model column in uc_order_products

Project:Ubercart Contributions
Component:Code
Category:
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

The schema for uc_products defines model as VARCHAR(255), while uc_order_products is defined as VARCHAR(32). If a product with model > 32 chars is added to an order a MySQL warning is raised and the product is not added (dependent on MySQL config I think).

Recommend the two columns match eachother?

Version: 
Ubercart 1.x-dev
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Data too long for model column in uc_order_products

Agreed... strange issue there. Must've been matched at one point in time and changed in the product module later on. Fixing and committing.

(And also removed the extraneous column 'manufacturer.')