Skip to content
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

Blank group, not deletable #575

Open
Bilemma opened this issue Feb 7, 2017 · 9 comments
Open

Blank group, not deletable #575

Bilemma opened this issue Feb 7, 2017 · 9 comments
Milestone

Comments

@Bilemma
Copy link

Bilemma commented Feb 7, 2017

Expected behaviour

A list of all groups on the left side of the screen. No blank lines between "not grouped" and first group.

Actual behaviour

A blank line is inserted between "not grouped" and the first group name. See picture. Also a blank group is inserted in the drop down list in the contact details area (can't see this on the screenshot). It is the first entry in the list and it's only about half the height of the other entries.
group bug

I think, somehow there is a group with an empty name. I already synced all my contacts to an external device, edited there all contacts without any group/category to a new Group "TEMPGROUP". After a Sync the blank group disappeared, i was happy. I deleted the TEMPGROUP an everything was like expected. BUT: After 24h i came back and there was the blank group again.

Server configuration

Operating system:
Synology DSM 6.0.2-8451 Update 9
Web server:
Apache HTTP Server 2.2
Database:

PHP version:
PHP 5.6
ownCloud version: (see ownCloud admin page)

Contacts version: (see ownCloud apps page)
1.5.1
Updated from an older ownCloud or fresh install:
updated
Signing status (ownCloud 9.0 and above):
?

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:
Enabled:

  • activity: 2.3.2
  • calendar: 1.4.1
  • comments: 0.3.0
  • contacts: 1.5.1
  • dav: 0.2.7
  • federatedfilesharing: 0.3.0
  • federation: 0.1.0
  • files: 1.5.1
  • files_pdfviewer: 0.8.1
  • files_sharing: 0.10.0
  • files_texteditor: 2.1
  • files_trashbin: 0.9.0
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 15.0.0
  • notifications: 0.3.0
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • templateeditor: 0.1
  • updatenotification: 0.2.1
    Disabled:
  • encryption
  • external
  • files_antivirus
  • files_external
  • user_external
  • user_ldap

The content of config/config.php:
$CONFIG = array (
'trusted_domains' =>
array (
0 => 'xyz',
1 => 'xyz.ddns.net',
2 => 'xyz.synology.me',
),
'instanceid' => 'ocjkggqs5hc3',
'datadirectory' => '/volume1/web/owncloud/data',
'overwrite.cli.url' => 'http://xyz/owncloud',
'dbtype' => 'mysql',
'version' => '9.1.3.1',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_ownadmin',
'logtimezone' => 'UTC',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'trashbin_retention_obligation' => 'auto',
);

Are you using external storage, if yes which one: local/smb/sftp/...
no.

Are you using encryption: yes/no
no.
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
WebDAV: Android DAVDroid; Windows 10 EM Client

Client configuration

Browser:
Chrome,( Edge)
Operating system:
Windows 10
CardDAV-clients:
Android DAVDroid;
Windows 10 EM Client (only used to correct the groups as described above)

ownCloud log (data/owncloud.log)

I only insert one line as an example, the log file is full of these:

{"reqId":"PFNhGGCynEemxmicEeU1","remoteAddr":"92.226.179.67","app":"PHP","message":"PHP Startup: No such handler: DBA_DEFAULT at Unknown#0","level":3,"time":"2017-02-07T11:46:13+00:00","method":"OPTIONS","url":"/owncloud/remote.php/carddav/principals/myname/","user":"myname"}

@DeepDiver1975
Copy link
Member

Can I ask you to test this version:
contacts.zip

@Bilemma
Copy link
Author

Bilemma commented Feb 7, 2017

Thank you very much -this version solved the problem for me! I don't know what exactly changed, but everything works fine now!

Thank you so much for the fast help!

@Bilemma
Copy link
Author

Bilemma commented Feb 7, 2017

Oh no, sorry, I was too fast...

First it looked fine, but now I have the same thing again. It seems that (only in my case?) every contact which is not assigned to a specific group will be handled as part of the "" group. If there are no contacts without category, everything is fine.

btw, here is a screenshot of the dropdown list with the grey, half-height-line of the untitled category:
image

and this is how it looks in the detail view, if i select the unnamed category:
image

I noticed another thing:
When I click on the blank line to select the untitled group, the chrome adresse line blinks fast and switches then back to the "All Contacts" view. I grabbed a screenshot of it and was then able to read the otherwise "to fast to see" line. It actually is the uid of the first contact in my list which is not assigned to a category. Maybe this is a clue to the problem.

@Bilemma
Copy link
Author

Bilemma commented Feb 7, 2017

another hint:

i found in the exported vcard of all contacts the following:
some contacts have a special UID: they begin with "urn:uuid:"
f.e.
UID:urn:uuid:824a5799-3efc-4b0a-ae02-027ae8c8d8d9

Excuse me please if this is normal - but to me it seems that this might have to do with this problem.

@frankwerner
Copy link

I saw this 'blank group' too. My fix in #582 fixes this bug too :-)

@DeepDiver1975 DeepDiver1975 added this to the 1.6 milestone Jun 27, 2017
@DeepDiver1975 DeepDiver1975 self-assigned this Jun 27, 2017
@DeepDiver1975
Copy link
Member

contacts.tar.gz.txt

Please test this version - THX
(rename the file name and kill .txt)

@Bilemma
Copy link
Author

Bilemma commented Jul 17, 2017

I tested your Version but the blank group is still there. I'm sorry!
Any special tests I can do for you?

@DeepDiver1975
Copy link
Member

hmmm ... would be good to identify which vcard is causing the generation of this empty group ....

@Bilemma
Copy link
Author

Bilemma commented Nov 24, 2017

I updated recently to OwnCloud X and have now contacts 1.5.3 running. The problem with the blank group still exists.

I would like to identify the vcard as you told me, but I don't know how to do that. Any suggestions?
Thank you again!

@DeepDiver1975 DeepDiver1975 removed their assignment Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants