rowan-lewis/repeating_date_field — Issue #2: Unable to edit existing entries
Author: henrysingleton
Created: 2011-10-23 07:42:04+00:00
State: open

Seems there may be a problem with it not retaining the link_id when editing an existing entry.
Testing on Symphony 2.2.3 and 2.2.4. Adding the field to a section is fine, and I can create an initial entry. I can see all the calculated dates in the _dates table, and the link_id is present in the standard field table. However, if I try to edit the entry, the existing row in the standard field table is removed, and then a MySQL error is encountered:

Field 'link_id' doesn't have a default value
An error occurred while attempting to execute the following query
INSERT INTO `sym_entries_data_24` (`entry_id`, `start`, `end`, `units`, `mode`) VALUES ('7', '1319315820', '1321994220', '1', 'days')

Tried looking into the code, but I don't fully understand how Symphony is supposed to know about non-standard fields when editing an entry...