etesync-web icon indicating copy to clipboard operation
etesync-web copied to clipboard

Bug: Importing .ics file caused calendar to break

Open maddievee22 opened this issue 4 years ago • 2 comments

On the main calendar screen, after importing a .ics an error shows instead of a calendar.

Something went wrong!

Could not extract integer from "--"

strictParseInt@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:9978
ICAL.Time.fromDateTimeString@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:57385
decorate@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:14586
_decorate@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:34033
_hydrateValue@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:33928
getValues@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:35125
_extractDates@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:83978
_init@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:84764
fromData@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:82457
n@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:82119
iterator@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:87663
value/<@https://pim.etesync.com/static/js/main.22f3c6ae.chunk.js:1:196117
value@https://pim.etesync.com/static/js/main.22f3c6ae.chunk.js:1:196055
Fa@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1522292
Ra@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1522085
gs@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1557996
uc@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1549213
sc@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1549136
$s@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1546145
Ji/<@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1497530
t.unstable_runWithPriority@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1573111
Yi@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1497239
Ji@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1497477
Gi@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1497410
Ws@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1542927
pa@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1514647
e/<@https://pim.etesync.com/static/js/main.22f3c6ae.chunk.js:1:212689
u@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1577986
c/o._invoke</<@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1577740
v/</<@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:1578345
r@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:8712
s@https://pim.etesync.com/static/js/2.40ad58e3.chunk.js:2:8916

The .ics file (Names of events redacted) is attached. Events.zip

maddievee22 avatar Nov 10 '20 22:11 maddievee22

Thanks for the report! It seems to be a bug with one of the libraries we use, which is also used in Mozilla Thunderbird! This is the relevant issue there: https://github.com/mozilla-comm/ical.js/issues/458

As for a workaround for now, I'd recommend you delete the events from another client (e.g. Android). Are you able to do that? I hope upstream fixes it quickly.

I'm also pushing a small fix that will hopefully at least not make the crash fatal.

tasn avatar Nov 11 '20 07:11 tasn

Today, I run into the same issue. It's quite sad, that the bug is still not fixed after about 3 years :disappointed:

GarlicHiker avatar Sep 28 '23 18:09 GarlicHiker