View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09461 | Bug reports | Central participant database | public | 2015-01-16 14:30 | 2016-02-16 22:48 |
| Reporter | gab79 | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05+ | ||||
| Fixed in Version | 2.06+ | ||||
| Summary | 09461: share a participant without selecting a user | ||||
| Description | When using the Participant Panel is allowed to share a participant without selecting an users, allowing the creation of records in participant_shares where share_uid=0. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | When using the sharePanel there is an error in getShareInfo_json <h1>PHP Error [8]</h1> Undefined offset: 0 (/var/www/limesurvey/application/controllers/admin/participantsaction.php:323) #0 /var/www/limesurvey/application/controllers/admin/participantsaction.php(323): LSYii_Application->handleError() | ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | 20141229 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Mozilla Firefox | ||||
| Database type & version | 178 | ||||
| Server OS (if known) | RHEL 6 | ||||
| Webserver software & version (if known) | 2.2.15 | ||||
| PHP Version | 5.3.3 | ||||
|
What effect does this have? I have been hoping for a while that there would eventually be a way to share with "all". Hopefully if that ever gets implemented it will be more intuitive than this, though...? |
|
|
@ttemberg: indeed I discovered this bug while searching for a way to share a contact with all. As I need to share some contacts among all my users I'm developing a patch for a "public" attribute http://bugs.limesurvey.org/view.php?id=9469 I'd like to know if your use case is the same as mine. |
|
|
@Gab79: That is EXACTLY what I was hoping for. In our scenario I would like to share all of the participants, and having people unable to edit/fix them is causing us all sorts of problems. For us it would be best if "share with public" was the default when adding a participant since not all our clerks understand what is involved. |
|
|
The error in the sharePanel is because in the following code
we have a $row['share_uid'] == '0' when we iterate on the "null user share" and then there is no $oShared[0] |
|
|
Denis, can you please check the suggested fix and implement it if it looks fine to you? |
|
|
I never work on Participant except yesterday ;) (on 2.06). I don't know the code of Participant . |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15782 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15783 |
|
|
Version 2.06+ Build 150930 released |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17448 |
|
|
LimeSurvey: master 371376a9 2015-08-24 13:47 Details Diff |
Fixed issue 09461: Can share a participant without selecting a user |
Affected Issues 09461 |
|
| mod - application/views/admin/participants/displayParticipants_view.php | Diff File | ||
| mod - scripts/admin/participantdisplay.js | Diff File | ||
|
LimeSurvey: master 5821f3d5 2015-08-24 13:53 Details Diff |
Fixed issue 09461: Can share a participant without selecting a user |
Affected Issues 09461 |
|
| mod - application/controllers/admin/participantsaction.php | Diff File | ||
|
LimeSurvey: master f7f014e2 2016-02-16 22:22 Details Diff |
Fixed issue 09461: share a participant without selecting a user Dev public participants in CPDB: allows sharing a participant with all the users |
Affected Issues 09461 |
|
| mod - application/controllers/admin/participantsaction.php | Diff File | ||
| mod - application/models/Participant.php | Diff File | ||
| mod - application/views/admin/participants/displayParticipants_view.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-01-16 14:30 | gab79 | New Issue | |
| 2015-01-27 04:58 | ttenbergen | Note Added: 31490 | |
| 2015-01-28 12:09 | gab79 | Note Added: 31498 | |
| 2015-01-29 19:12 | ttenbergen | Note Added: 31554 | |
| 2015-02-03 16:46 | gab79 | Note Added: 31621 | |
| 2015-04-01 12:10 | Mazi | Assigned To | => DenisChenu |
| 2015-04-01 12:10 | Mazi | Status | new => assigned |
| 2015-04-01 12:11 | Mazi | Note Added: 31937 | |
| 2015-04-01 13:15 | DenisChenu | Note Added: 31938 | |
| 2015-04-01 13:15 | DenisChenu | Assigned To | DenisChenu => c_schmitz |
| 2015-08-24 13:47 | c_schmitz | Status | assigned => resolved |
| 2015-08-24 13:47 | c_schmitz | Fixed in Version | => 2.06+ |
| 2015-08-24 13:47 | c_schmitz | Resolution | open => fixed |
| 2015-08-24 13:47 | c_schmitz | Changeset attached | => LimeSurvey master 371376a9 |
| 2015-08-24 13:47 | c_schmitz | Note Added: 32996 | |
| 2015-08-24 13:55 | c_schmitz | Changeset attached | => LimeSurvey master 5821f3d5 |
| 2015-08-24 13:55 | c_schmitz | Note Added: 32997 | |
| 2015-09-30 11:01 | c_schmitz | Note Added: 33237 | |
| 2015-09-30 11:01 | c_schmitz | Status | resolved => closed |
| 2016-02-16 22:48 | gab79 | Changeset attached | => LimeSurvey master f7f014e2 |
| 2016-02-16 22:48 | gab79 | Note Added: 35274 |