calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Import of ICS file with two entries (Deutsche Bahn Ticket, outward and return) partially fails, needs two imports

Open hannob opened this issue 1 year ago • 1 comments

Steps to reproduce

  1. Try to import ICS file from Deutsche Bahn Ticket with two entries (outward and return journey)
  2. Nextcloud says: "Import partially failed. Imported 1 out of 2."
  3. Only one of the entries got imported
  4. (as a workaround, importing a second time will also "partially fail", but it will fail with the other one, so that works to import both)

Expected behavior

Nextcloud should correctly import the ICS file with two events.

Actual behaviour

Error message, only one event gets imported

Calendar app version

4.7.4

CalDAV-clients used

No response

Browser

Firefox 126.0

Client operating system

Gentoo Linux

Server operating system

Gentoo Linux

Web server

Apache

Database engine version

SQlite

PHP engine version

Other

Nextcloud version

29.0.1

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

hannob avatar May 27 '24 08:05 hannob

Please fill the issue template and especially provide browser logs when importing.

tcitworld avatar May 27 '24 09:05 tcitworld

Sorry for the delay, I have added what I believe are all relevant logs.

hannob avatar Jul 08 '24 09:07 hannob

Looks like a general DB error. Can you reproduce if you delete the events and try to re- import them?

miaulalala avatar Jul 09 '24 09:07 miaulalala

I added and deleted the events multiple times while testing. I even ran the tests on a completely fresh nextcloud installation locally (in order to avoid leaking anything potentially sensitive about my production installation), the logs are generated from that.

hannob avatar Jul 09 '24 09:07 hannob

Possibly related: #5647

joshtrichards avatar Apr 06 '25 22:04 joshtrichards