Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

qtorganizer-eds: Description field is altered #2157

Open
spyphi opened this issue Oct 22, 2023 · 3 comments
Open

qtorganizer-eds: Description field is altered #2157

spyphi opened this issue Oct 22, 2023 · 3 comments

Comments

@spyphi
Copy link

spyphi commented Oct 22, 2023

  • Device: krillin, frieza (16.04) & yggdrasil (20.04)
  • Channel: stable
  • Build: OTA-25 (16.04) OTA-2 (20.04)

Steps to reproduce

Create a new event in the Calendar app and enter a multiline comment with empty lines in the "Description" field, for example:

Line 1

Line 3
Line 4

Save and reopen the event and the empty line does not appear any more.

Finally if you synchronize the calendar with syncevolution, all the lines are removed except the last one "Line 4".

Expected behavior

The description field should not be altered.

Actual behavior

The description is completely removed except for the last line.

Logfiles and additional information

If I check in the calendar.ics file it actually contains several 'DESCRIPTION' fields and errors for the empty line after the event is saved:

SUMMARY:Test event^M
DESCRIPTION:Line 1^M
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for DESCRIPTION ^M
 property. Removing entire property:^M
DESCRIPTION:Line 3^M
DESCRIPTION:Line 4^M

As per RFC 5545 and RFC 7986 the DESCRIPTION field should be saved as one long string and should only be splitted if it is treated as multilingual

It should then normally be saved as one field only:

SUMMARY:Test event^M
DESCRIPTION:Line 1\n\nLine 3\nLine 4^M
@lduboeuf
Copy link
Collaborator

@spyphi Is it possible to file a bug directly in the component itself if you are sure it is there: https://gitlab.com/ubports/development/core/qtorganizer5-eds/-/issues

@spyphi
Copy link
Author

spyphi commented Oct 23, 2023

@lduboeuf
Copy link
Collaborator

now just pray someone will take care of that issue ^ ^

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants