-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upcoming version of contacts app displays some names in a scrumbled way #579
Comments
Let me bundle a new release cadidate and let's see ... |
@arkascha here we go |
😢 |
Any error in the browser console? |
Nothing in the browsers console, sorry. I just took a look into the database, I fail to see any structural difference between contacts displayed correct and such getting scambled. |
Within the setting in the bottom left corner there is a sort order setting - mind switching between the modes? Maybe we get some different display? THX |
Changing the sort mode from "Anzeigename" to "Vorname" or "Name" party fixes the issue, since obviously it is the "Anzeigename" that is causing issues here. However the icon featuring the strange |
this gives some pointers at least ..... THX |
I can reproduce this behavior is I remove the \ from the FN Works:
Causing issues:
|
lets see if I can find a fix tomorrow .... |
Ok, seems like that backslash got removed when importing the contacts from my local PIM suite (exported as VCards) into ownCloud in a much earlier version. If so, then one might consider this corrupt data that should be fixed instead of getting worked around. I wonder about that logic, though... why is the backslash required? The "display name" is a separate field (design decision in the VCard format). So I would expect it to be plain text and to get displayed "as is". Which not only obviously is not the case, but apparently that unescaped comma even gets interpreted in some strange way. That indeed might be something that should be examined... I personally am happy if I can fix the issue on database level. |
the vcard specification defines the comma to be a value separator - in case the comma is to be used within the value it has to be escaped with a \ the definition that fn is a single string value only applies afterwards when the value is already parsed and exists as an array of two elements. |
Ok, thanks, das decides the cause of the issue: corrupted data in the owncloud database Question is: should that get fixed automatically somehow? Certainly possible. Or should that be documented and handled as "legacy data"? |
well - this is not that easy from my understanding. This would require a hugh collection of possible corrupted cases and rules on how to fix them. Starting with oc10 the server backend is much more restrictive on import of data and it should not be possible to import corrupted data - if this case is handled is to be tested. |
As said: the data that got imported is not corrupted as I see it... With "possible to fix" I meant: only existing |
Testing the upcoming version of the contacts app as offered for download in issue #552 I saw that part of my contacts (about 50%, roughly) are displayed with the contact name scrumbled:
Instead of of usual
name, surname
or sometimessurname name
those contacts are shown as["name", "surname"]
. In addition the icon left of the contacts in the list features a{{
instead of the usual first letter of the name.The edit view of such contacts shows nothing special.
Further investigation appears to indicate that this is an issue with the display name is formatted in the data sets. That is the
FN
field in the vcard formatSince this result shows on a system that had issues with newer versions of the contact app before (see already mentioned issue #552) chances are that we are seeing another effect triggered by the actual data that already lead to a crash in the app for the last months.
Examples:
"Silke Musterfrau","","Silke","","Musterfrau","","","","","","","","","","","","","","","","","","","","","","","","","+495550123456789","","","","","","","","","","","","","","","","",""
"Mustermann, Volker","","Volker","","Mustermann","","","","","[email protected]","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""
The system showing this issue is an owncloud-9.1.4 installation on a Linux-x86_64 system, Ubuntu based. The installation works fine so far.
PHP-7.0.13
mysql Ver 14.14
The text was updated successfully, but these errors were encountered: