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
User Groups / User Management #4802
Comments
same here please help! |
same here after update from 5.0.10 to 5.0.11 oc is running on Win2k8R2 |
Hi there, I'm having the same problem. This is what I encountered so far:
Has anyone tested this before it was released? |
There is a second point I want to make regarding this issue: And it is not the first time. Another example is this: #4323 This also was a major change. And it was packed into a little version step somewhere between 5.0.7 and 5.0.9. From my perspective you should really discuss the way you make version steps. Big changes especially in the interface and changes inside workflows should not be labelled like a bug-fixing release. |
@hanibal8 I agree about there should be a way to differ pure maintenance updates/ bugs etc and feature updates. as you suggest 5.1 when adding features But its another issue, can you please post a new issue for this? owncloud 6 is soon to be in alpha and it would be great to have someting like this sorted for when its released. |
same bug(?) here. Cant manage users after upgrade from 5.0.10 ti 5.0.11. |
@kiranos |
@blizzz @raghunayyar Can you have a look please? This is urgent. |
Those who are experiencing it, which browsers are you using? |
Chrome Version 29.0.1547.66 m |
Firefox 23.0.1 |
@pediehl thank you for your bug report. Unfortunately it is lacking important information. Please extend your report using the issue template (which is linked from "guidelines for contributing" which is always displayed when opening a new bug report). Only with meaningful reports we are able to inspect the issue. |
cc @ringmaster |
@blizzz clearing cache didnt take any effect, the issues are still there |
@blizzz tried a new installed client - still the same |
clearing of the cache didnt take any effect. |
Do you see any JS errors in the browser? Any entries in the data/owncloud.log? Any entries in the web servers error log? |
chrome 29.0.1547.66 m (with clearing cache) Chrome JSConsole: |
there are no entrys in the logfiles but a js error: TypeError: settings.checked.indexOf is not a function ...if(settings.checked.indexOf( multis...1ff4336 (Zeile 39) else if(settings.checked.indexOf( e.g. if i want to add a user, there normally appears a yellow button on the top. This button doesnt appear... |
my owncloud.log has no entries. when i manually add a user to the sql database i can administrate that specific user. all others i cant. everything else works normal and no error what so ever... ldap or manually added users |
@salva86 does the other entries in the DB look somehow different compared to you manually added user? |
i have no logs in the owncloud.log but the error laso occurs in the Demo-System under http://demo.owncloud.org/ |
OK, on demo I see it as well. |
It throws a JS error on loading:
|
Okay, it only seems to happen when at least one group name is a pure number. Can you confirm? |
A one-digit number to be more precisely, works with 666 e.g. |
No the Bug also happens in the Community Version 5.0.11 of the OwnCloud with groups with "normal" Names e.g.. "planning group", etc. |
@pediehl no, that seems to work on demo. What i mean is of at least one group exists which name is just one digit. |
Could you try whether this fixes it for you? e19076d |
@blizz i cant see any diffrence in the database under oc_users |
@pediehl no, that seems to work on demo. What i mean is of at least one group exists which name is just one digit. |
@salva86 you may try it too, of course, as well as others :) |
@blizzz zz seems to do the job - thx |
seems to do the job - but not all groups of the existing users are shown and you can not delete a user. The Icon for this is not shown up. |
@salva86 please spell my nick correctly (3 z), otherwise you notify a different user. |
@pediehl it may be the groups are not shown when you added them to users before you applied the fix. those were not stored at all. |
@blizz sorry, it worked, i just overseen this. |
thx, np |
@pediehl are u able to change groups and group administrator? i can check the box but nothing happens |
@blizzz cc |
I see. Another JS problem.
|
It seems like sometimes the call to I added
Note the reversed order of the "groups" array element. This array will be converted into a javascript object instead of an array. By changing line 62 to include an
The change is ridiculously subtle, but makes a huge difference in how PHP's json_encode() converts the value. It may be worthwhile to track down why these values occasionally get reordered. Maybe something being cached oddly? It's also worth noting that it took a bit of fiddling to get this to happen on my system in the first place, but when it finally did, it was easily reproduced on each page reload. A fix is easy (described above), but I think we should take some time to investigate the underlying cause. There seems to be a separate issue related to using numbers as group names. I have not finalized investigating this. |
And here's the answer to why the indexes get munged in Note that the code in |
Fixed with the merge of #4821. |
I really believe it has something to do with the sorting. I went in and sorted the table group_users by gid then uid (manual edit), then it fixed the problem. |
If a user belongs to diffrent groups, there are only listboxes with all groups and no drop-down-boxes anymore. since 5.0.11 it is not possible anymore to manage the groups of a owncloud-user.
The text was updated successfully, but these errors were encountered: