Author:
community
Version:
1.3.7
Released:
9 February 2011
Category:
Field Types

Closed#1: [2.0.7RC2] Error when saving entry with null value

I’ve got an issue with Symphony 2.0.7RC2 and the Reference Link extension. I get a Symphony Fatal Database Error when I try to save an entry with an empty reference link field (null value).

Column 'relation_id' cannot be null
An error occurred while attempting to execute the following query

INSERT INTO `sym_entries_data_84` (`entry_id`, `relation_id`) VALUES ('57', NULL)

After testing this out a little, it appears that the error doesn’t occur when the checkbox for “Allow selection of multiple options” is checked and the “Field Type” is set to “Autocomplete Input”.

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details