View Issue Details

This bug affects 1 person(s).
 20
IDProjectCategoryView StatusLast Update
10233Bug reportsUser / Groups / Rolespublic2016-01-30 11:56
Reportermdekker Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Target Version2.06+Fixed in Version2.06+ 
Summary10233: Unable to add user to a group in a fresh install
Description

I always get user already in group, while this is not the case

Steps To Reproduce

Fresh install (admin user is 1), create a group (id = 1) some users and then try to add a user to the group. This will fail due to the UserInGroup model not having a composite primary key.

Additional Information

Will submit a pull request for the fix

TagsNo tags attached.
Bug heat20
Complete LimeSurvey version number (& build)151215
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql
Server OS (if known)rhel
Webserver software & version (if known)apache
PHP Version5.6

Relationships

has duplicate 10259 closedc_schmitz kan bij een nieuwe groep geen users toevoegen en users krijgen meer rechten dan ik ze geef en kunnen alle surveys benaderen. 

Users monitoring this issue

htwsaar

Activities

fvanderstarre

fvanderstarre

2016-01-28 09:51

reporter   ~34403

Can this issue be assigned please? It has to be fixed!
Thx, Frank

Mazi

Mazi

2016-01-28 11:20

updater   ~34404

This was also reported at the forums (https://www.limesurvey.org/forum/installation-a-update-issues/103367-i-have-a-mayor-problem-with-users,-groups-an-permissions-version-2-06-build-160#130296) so it is a rather urgent issue.

mdekker

mdekker

2016-01-28 12:56

reporter   ~34405

See https://github.com/LimeSurvey/LimeSurvey/pull/422

I have a fix for this issue in that pull request

c_schmitz

c_schmitz

2016-01-29 14:18

administrator   ~34418

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17016

c_schmitz

c_schmitz

2016-01-29 14:18

administrator   ~34419

Thank you, Menno.

Related Changesets

LimeSurvey: master fea068e9

2016-01-29 13:17:56

c_schmitz

Details Diff
Fixed issue 10233: Unable to add user to a group in a fresh install Affected Issues
10233
mod - application/models/UserInGroup.php Diff File

Issue History

Date Modified Username Field Change
2016-01-20 15:33 mdekker New Issue
2016-01-28 09:51 fvanderstarre Note Added: 34403
2016-01-28 11:20 Mazi Assigned To => c_schmitz
2016-01-28 11:20 Mazi Status new => assigned
2016-01-28 11:20 Mazi Note Added: 34404
2016-01-28 12:56 mdekker Note Added: 34405
2016-01-29 11:59 htwsaar Issue Monitored: htwsaar
2016-01-29 14:18 c_schmitz Changeset attached => LimeSurvey master fea068e9
2016-01-29 14:18 c_schmitz Note Added: 34418
2016-01-29 14:18 c_schmitz Resolution open => fixed
2016-01-29 14:18 c_schmitz Note Added: 34419
2016-01-29 14:18 c_schmitz Status assigned => resolved
2016-01-29 14:18 c_schmitz Fixed in Version => 2.06+
2016-01-29 14:52 c_schmitz Status resolved => closed
2016-01-30 11:56 DenisChenu Relationship added has duplicate 10259
2019-11-01 17:26 c_schmitz Category User/User groups => User / Groups / Roles
2021-08-03 23:49 guest Bug heat 16 => 20