Package: owncloud
Version: 5.0.14.a+dfsg-1~bpo70+2
Severity: normal
Tags: upstream patch
Forwarded: https://github.com/owncloud/core/issues/2335#issuecomment-32130820
Similar to Bug #729862, ownCloud incorrectly turns the non-standard field
"X-EVOLUTION-FILE-AS:McVittie, Simon" into
"X-EVOLUTION-FILE-AS:McVittie\\, Simon". This means that contacts imported
into ownCloud from Evolution look rather odd when viewed in Evolution again.
Patch attached (just a monkey-patch for the installed files rather than
a proper packaging patch, I'm afraid).
Regards,
S
-- System Information:
Debian Release: jessie/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- /usr/share/owncloud/apps/contacts/appinfo/bootstrap.php 2013-12-18 11:13:14.000000000 +0000
+++ /usr/share/owncloud/apps/contacts/appinfo/bootstrap.php.smcv 2014-01-12 18:32:22.000000000 +0000
@@ -28,6 +28,7 @@
Sabre\VObject\Property::$classMap['TEL'] = 'OC\VObject\StringProperty';
Sabre\VObject\Property::$classMap['IMPP'] = 'OC\VObject\StringProperty';
Sabre\VObject\Property::$classMap['URL'] = 'OC\VObject\StringProperty';
+Sabre\VObject\Property::$classMap['X-EVOLUTION-FILE-AS'] = 'OC\VObject\StringProperty';
Sabre\VObject\Property::$classMap['N'] = 'OC\VObject\CompoundProperty';
Sabre\VObject\Property::$classMap['ORG'] = 'OC\VObject\CompoundProperty';
Sabre\VObject\Property::$classMap['ADR'] = 'OC\VObject\CompoundProperty';