You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to a bug in my client (AlephNote) I managed to create tags with the creation_date 1-01-01T00:00:00.00000000Z, when I then try to open the account in the web app I get a js exception and the sync process does not finish.
While this is definitely a bug in my program (or is it?) it would be nice if the dateToLocalizedString could be adjusted to not crash on weird values.
The sync data
The Data I send (everything is on a newly created test account):
(updated_at gets set from the server, but created_at not?)
The js exception (developer console)
Sync handle response error RangeError: Invalid time value
at t.dateToLocalizedString (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at new t.GenericItem (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at new c (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at new a (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at B (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at Object.t.CreateItemFromPayload (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at l (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
at app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2
at Array.map (<anonymous>)
at Ue.setPayloads (app-77e7cec1397f1069e39f608766cdc710486d6248c90b6481a85a301e1c8fb242.js:2)
Open the web-console (or notice that some notes/tags are missing)
Also I'm kinda sure that the creation-date of items was previously not supplied by the client but automatically set from the server (thats why I could always just send DateTimeOffset.Min) - Did the API behaviour change or is this a bug I should report elsewhere?
Regards
~Mike
The text was updated successfully, but these errors were encountered:
Due to a bug in my client (AlephNote) I managed to create tags with the creation_date
1-01-01T00:00:00.00000000Z
, when I then try to open the account in the web app I get a js exception and the sync process does not finish.While this is definitely a bug in my program (or is it?) it would be nice if the
dateToLocalizedString
could be adjusted to not crash on weird values.The sync data
The Data I send (everything is on a newly created test account):
The data I receive:
(updated_at gets set from the server, but created_at not?)
The js exception (developer console)
Steps to reproduce
Also I'm kinda sure that the creation-date of items was previously not supplied by the client but automatically set from the server (thats why I could always just send DateTimeOffset.Min) - Did the API behaviour change or is this a bug I should report elsewhere?
Regards
~Mike
The text was updated successfully, but these errors were encountered: