Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
-
5.4.0
-
release
-
5.5.1
-
wt-5.8.1
-
0298
Description
NOTE: Tasks are handled as reminders on apple devices.
If you create a new task (reminder) on an apple device synchronized with EAS, it is not reported on the server.
Steps to reproduce:
- configure EAS account on apple device
- enable synchronization of reminders (tasks) on device apple
- add a new reminder on the device
Expected behaviour:
- the task is synchronized to the server and appears in the task interface
Actual behaviour:
- the task is not sent on the server and in the webtop log reports this error:
Caused by: org.jooq.exception.DataAccessException: SQL [insert into "tasks"."tasks" ("task_id", "category_id", "revision_status", "revision_timestamp", "public_uid", "subject", "description", "start_date", "due_date", "completed_date", "importance", "is_private", "status", "completion_percentage", "reminder_date", "reminded_on", "revision_sequence", "href", "etag", "creation_timestamp") values (?, ?, ?, cast(? as timestamp), ?, ?, ?, cast(? as timestamp), cast(? as timestamp), cast(? as timestamp), ?, ?, ?, ?, cast(? as timestamp), cast(? as timestamp), ?, ?, ?, cast(? as timestamp))]; ERROR: null value in column "completion_percentage" violates not-null constraint Detail: Failing row contains (14, 2, N, 2020-02-11 12:21:05.529+01, 0, ab511c32b18a1bc258d52c9c22f1ac8b@nethesis.it, Apple, null, null, null, null, 1, f, notstarted, null, null, null, null, null, 2020-02-11 12:21:05.529+01). at org.jooq.impl.Utils.translate(Utils.java:1553) at org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:609) at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:355) ... 75 common frames omitted Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "completion_percentage" violates not-null constraint Detail: Failing row contains (14, 2, N, 2020-02-11 12:21:05.529+01, 0, ab511c32b18a1bc258d52c9c22f1ac8b@nethesis.it, Apple, null, null, null, null, 1, f, notstarted, null, null, null, null, null, 2020-02-11 12:21:05.529+01).