NETLINK Posted June 5, 2015 Report Posted June 5, 2015 When editing a (domain) package, add a pricing row using the "Add Additional Price" button, leave the row empty, remove it, then save the package information, the following error is thrown: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'term' cannot be null on line 124 in public_html/blesta/lib/model.phpPrinting Stack Trace:#0 public_html/blesta/lib/model.php(124): PDOStatement->execute(Array)#1 public_html/blesta/components/record/record.php(225): Model->query('INSERT INTO `pr...', Array)#2 public_html/blesta/app/models/pricings.php(93): Record->insert('pricings', Array, Array)#3 public_html/blesta/app/models/packages.php(1507): Pricings->add(Array)#4 public_html/blesta/app/models/packages.php(285): Packages->addPackagePricing('2', Array)#5 public_html/blesta/app/controllers/admin_packages.php(362): Packages->edit('2', Array)#6 public_html/blesta/lib/dispatcher.php(111): AdminPackages->edit()#7 public_html/blesta/index.php(21): Dispatcher::dispatch('/admin/packages...')#8 {main} PauloV 1
Tyson Posted June 5, 2015 Report Posted June 5, 2015 This is fixed in CORE-1695 for v3.5.0-b5. NETLINK, PauloV and Michael 3
Recommended Posts