Jefferson49 / Joomla_plugin_sexypolling_reloaded

Migration of the joomla plugin "Sexy Polling" to joomla 4.x
GNU General Public License v3.0
2 stars 3 forks source link

Error if changing default poll: "Save failed with the following error: Incorrect date value: 'NOW' for column `joomla`.`jos_sexy_polls`.`date_start` at row 1" #59

Closed Jefferson49 closed 10 months ago

Jefferson49 commented 10 months ago

Observed with Joomla 4.4., plugin v4.2.0 Does not occur in Joomla 3.10

If opening the default poll after a new installation, changing the name of a poll will result in an error: "Save failed with the following error: Incorrect date value: 'NOW' for column joomla.jos_sexy_polls.date_start at row 1"

save_poll_failed

Jefferson49 commented 10 months ago

The error mainly occurs in the default example poll. As a short term workaround, the "Start Date" of the default example poll can be changed to another date. Afterwards, it should be possible to save the poll (with other name, question, ... etc.).