#1695 SQL error on task creation
Merge pull request #2055 from frederic34/patch-8

#1695 SQL error on task creation