nextcloud / nextcloud/contacts

IOS CardDAV sync issue with ";" character in notes field

Open
#2,346 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug compatibility
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

I have the following behavior on several IOS devices. On MacOS I don't have that issue.

Steps to reproduce
  1. Create a new contact e.g. in webapplication of nextcloud and fill "notes" with content "18.02.2021; Fuerteventura"
  2. On IOS Device add CardDAV Account corresponding to contact book and setup sync.
  3. Let CardDAV sync with IOS Device
Expected behaviour

If you click on details of that contact it should show the complete "notes" content. In this example "18.02.2021; Fuerteventura".

Actual behaviour

It just shows "18.02.2021". The ";" seems to be interpreted as a separator? Maybe you need to escape this special character?

Server configuration

Operating system:
IOS 14.6 on iphone 12 pro
Nextcloud version: (see Nextcloud admin page)
22.0
Contacts version: (see Nextcloud apps page)
4.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CardDAV contact sync with an iOS device using a notes value containing a semicolon, as described in the issue. Trace how the notes field is serialized during sync and compare the transferred value with the expected complete text. Done means the semicolon and following content remain visible on iOS without regressing other notes values.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
backend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.