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

Group administration views not working with space char in group name #31812

Closed
jochenwezel opened this issue Jun 18, 2018 · 5 comments
Closed
Labels
Milestone

Comments

@jochenwezel
Copy link

I've created some groups. Group views work if they don't contain a space character in the group name.
image

Expected behaviour

The group "CM Staff" in screenshot above should contain 6 users and show them in the list.

Actual behaviour

As soon as I've got a space char in the group name, the group view doesn't list any users any more.
The group "CM Staff" in screenshot above should contain 6 users, but the list is empty.
Other groups without space chars in group name work as expected.

Server configuration

Operating system: Ubuntu

Web server: Apache

Database:

PHP version:

ownCloud version: 10.0.8

Storage backend (external storage):

Client configuration

Client version: Google Chrome Browser

Operating system: Windows

OS language: German

Qt version used by client package (Linux only, see also Settings dialog):

@phil-davis
Copy link
Contributor

See issue owncloud-archive/user_management#19 in the user_management app (which is in the process to become a separate app). And:
PR: owncloud-archive/user_management#20
PR: #31109
PR: #31224

There is code coming to fix this...

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @phil-davis.

Possibly related issues are #6657 (can't sync calendar with special char in calendar name), #29279 (cannot share with a user that has the same name as a group), #3267 (Which groups am I in?), #22845 (space in the directory name), and #5010 (LDAP groups mapping not working ).

@phil-davis
Copy link
Contributor

Thanks gitmate, a genius suggestion, since I already gave you a clue by commenting :)
AI exceeds [all|no] expectations.

@PVince81 PVince81 added this to the backlog milestone Jun 21, 2018
@va1entin
Copy link

va1entin commented Sep 6, 2018

Still an issue with Owncloud 10.0.9. Looking forward to the fix coming in 10.0.11

It seems OCC can't handle spaces in group names either, even with correct escaping:

root@owncl-66241678: /var/www/owncloud # occ group:list
  - Test Gruppe
  - admin
  - Domain Admins
  - Domain Users

root@owncl-66241678: /var/www/owncloud # occ group:list-members admin        
  - Administrator: Administrator
  - owncloud: owncloud

root@owncl-66241678: /var/www/owncloud # occ group:list-members "Domain Users"

                                                             
  Too many arguments, expected arguments "command" "group".  
                                                             

group:list-members [--output [OUTPUT]] [--] 


root@owncl-66241678: /var/www/owncloud # occ group:list-members Domain\ Users 

                                                             
  Too many arguments, expected arguments "command" "group".  
                                                             

group:list-members [--output [OUTPUT]] [--] 


root@owncl-66241678: /var/www/owncloud # occ group:list-members 'Domain Users'

                                                             
  Too many arguments, expected arguments "command" "group".  
                                                             

group:list-members [--output [OUTPUT]] [--] 

@karakayasemi
Copy link
Contributor

Everything is working as expected in 10.3.0. I tested with group name having 2 spaces in both occ and web UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants