Fixed  Node Datawriter

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
Display order have an empty default value, so it's not possible to create nodes, without setting the display_order in the datawriter.
If you use the datawriter, and don't set the display_order, it throws

Server Error

Mysqli statement execute error : Incorrect integer value: '' for column 'display_order' at row 1
  1. Zend_Db_Statement_Mysqli->_execute()inZend/Db/Statement.phpat line317
PHP:
'display_order'      => array('type' => self::TYPE_UINT, 'default' => ''),
Wouldn't it be better to set the default to 0 or 1?
 
Top Bottom