Removing the GroupAdmin from the Group when they are the last member...
Expected behaviour
Should remove the user from the group_admin table
Actual behaviour
User is still in the group_admin table
Steps to reproduce
- Brand new install - logged in as 'owncloudadmin'
- Add new user 'bob' to a new group 'group' from 'owncloud/index.php/settings/users'
- Make 'bob' the group admin
- Refresh the page
- Remove 'bob' from the group
- Refresh the page
- Now you see the 'Group Admin' column has a bad drop down box for 'bob'
- Jump down to your postgres console and you see this
owncloud=> select * from oc_groups;
gid
-------
admin
owncloud=> select * from oc_group_admin;
gid | uid
------+-------
user | bob
Server configuration
Operating system: Ubuntu 12.04 LTS
Web server: Server version: Apache/2.2.22 (Ubuntu)
Database: Postgresql 9.1
PHP version: PHP 5.3.10-1ubuntu3.8
ownCloud version: ownCloud 5.0.13(up to date)
Client configuration
Browser: Chrome
Operating system: Windows 7
Logs
There is nothing significant in the logs.
@blizzz can you look into that?
i try tomorrow or fri
I cannot reproduce it with MySQL latest stable5 (soon to be 5.0.15).
@ghost could you try again next week when 5.0.15 was released and see whether the bug still exists?
We did a ton of improvements in ownCloud 7. I assume this was fixed in the meantime. Please reopen if this still exists
tested with ownCloud 7.0.4. It works.