View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08973 | Bug reports | Central participant database | public | 2014-04-16 13:59 | 2014-05-25 22:00 |
Reporter | c_schmitz | Assigned To | tpartner | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Target Version | 2.05+ | ||||
Summary | 08973: Editing attributes not properly working | ||||
Description | When editing attribute values of a participant in the CPDB main view, then when using a double click to start inline editing the icons are not coming up properly, also a message shows 'You don't have permissions to edit this' while I clearly have. It looks that for some reason the double-click to propagated to the main grid from where the denial message comes. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 140414 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Latest FF | ||||
Database type & version | irrelevant | ||||
Server OS (if known) | irrelevant | ||||
Webserver software & version (if known) | irrelevant | ||||
PHP Version | irrelevant | ||||
Okay, so these problems were introduced at commit - https://github.com/LimeSurvey/LimeSurvey/commit/afd51003c15edbe7ac24fc74acafb8440d27da66 Regarding the dialog: In participantdisplay.js at lines 140 and 719, $('#displayparticipants').getCell(id, 'can_edit') is not returning true because the "can_edit" cell doesn't exist in the sub-grid row. It actually lives in the parent row of the main grid. Do we even need to be accessing this variable, or can we just go with your new "bEditPermission" var? Regarding the editable inputs not appearing: You commented out line 756. Was there a reason for this? |
|
But doesn't $('#displayparticipants') not refer to the main grid? And the column does exist there. I am not sure about line 756, think that was committed in error. |
|
Yes, but the "id" var refers to the row that was double-clicked and in that row there is no "can_edit". I'll look into a fix later today or tomorrow. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14203 |
|
Fixed in 2.05 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-16 13:59 | c_schmitz | New Issue | |
2014-04-16 13:59 | c_schmitz | Status | new => assigned |
2014-04-16 13:59 | c_schmitz | Assigned To | => tpartner |
2014-04-16 14:00 | c_schmitz | Relationship added | related to 08798 |
2014-04-23 15:44 | tpartner | Assigned To | tpartner => c_schmitz |
2014-04-23 15:44 | tpartner | Note Added: 29870 | |
2014-04-25 11:49 | c_schmitz | Assigned To | c_schmitz => tpartner |
2014-04-25 11:49 | c_schmitz | Note Added: 29889 | |
2014-04-25 11:49 | c_schmitz | Status | assigned => feedback |
2014-04-25 12:01 | tpartner | Note Added: 29891 | |
2014-04-30 21:24 | duvemyster | Issue Monitored: duvemyster | |
2014-05-05 13:18 | tpartner | Changeset attached | => LimeSurvey master 53163473 |
2014-05-05 13:18 | tpartner | Note Added: 29956 | |
2014-05-05 13:18 | tpartner | Resolution | open => fixed |
2014-05-05 13:47 | tpartner | Note Added: 29957 | |
2014-05-05 13:47 | tpartner | Status | feedback => resolved |
2014-05-25 22:00 | c_schmitz | Status | resolved => closed |
2021-08-02 23:08 | guest | Bug heat | 4 => 6 |