Skip to content

Conversation

@kewisch
Copy link
Owner

@kewisch kewisch commented May 2, 2024

Fixes #363

I don't see a better way to adjust the design set than to modify the getter. ICAL.parse() detects the design set but only returns jCal, so it needs to be somewhere in the component code.

@kewisch kewisch requested a review from leftmostcat May 2, 2024 09:28
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8921649271

Details

  • 17 of 17 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 97.981%

Totals Coverage Status
Change from base Build 8909071766: 0.004%
Covered Lines: 9359
Relevant Lines: 9535

💛 - Coveralls

@kewisch kewisch merged commit 2f6087c into main Apr 24, 2025
@kewisch kewisch deleted the vcard3-detection branch April 24, 2025 10:10
kesselb added a commit to nextcloud/contacts that referenced this pull request Jul 20, 2025
There was a bug in sabre/vobject that stopped us from storing URIs with phone numbers. So, we had to use a workaround and not include them.[^1]

The fix for sabre/vobject is merged and included in stable31 and stable30.[^2]

It seems like this problem started after updating to ical.js 2.2.0 because of fixes in how vcard3 design sets were detected.[^3][^4]

Now it seems to work, but I don't understand why removing the tel property from the vcard3 design set worked when detecting the design set wasn't working before.

^[1]: #1393 (comment)
^[2]: sabre-io/vobject#486
^[3]: kewisch/ical.js#680
^[4]: kewisch/ical.js#363

Signed-off-by: Daniel Kesselberg <[email protected]>
kesselb added a commit to nextcloud/contacts that referenced this pull request Jul 20, 2025
There was a bug in sabre/vobject that stopped us from storing URIs with phone numbers. So, we had to use a workaround and not include them.[^1]

The fix for sabre/vobject is merged and included in stable31 and stable30.[^2]

It seems like this problem started after updating to ical.js 2.2.0 because of fixes in how vcard3 design sets were detected.[^3][^4]

Now it seems to work, but I don't understand why removing the tel property from the vcard3 design set worked when detecting the design set wasn't working before.

[^1]: #1393 (comment)
[^2]: sabre-io/vobject#486
[^3]: kewisch/ical.js#680
[^4]: kewisch/ical.js#363

Signed-off-by: Daniel Kesselberg <[email protected]>
backportbot bot pushed a commit to nextcloud/contacts that referenced this pull request Jul 21, 2025
There was a bug in sabre/vobject that stopped us from storing URIs with phone numbers. So, we had to use a workaround and not include them.[^1]

The fix for sabre/vobject is merged and included in stable31 and stable30.[^2]

It seems like this problem started after updating to ical.js 2.2.0 because of fixes in how vcard3 design sets were detected.[^3][^4]

Now it seems to work, but I don't understand why removing the tel property from the vcard3 design set worked when detecting the design set wasn't working before.

[^1]: #1393 (comment)
[^2]: sabre-io/vobject#486
[^3]: kewisch/ical.js#680
[^4]: kewisch/ical.js#363

Signed-off-by: Daniel Kesselberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

designSet is populated with vcard instead of vcard3

3 participants