• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Node Datawriter

R

ragtek

Guest
#1
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?