View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06431 | Bug reports | Survey participants (Tokens) | public | 2012-08-05 17:37 | 2012-08-15 01:01 |
| Reporter | lolo | Assigned To | jcleeland | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00RC8 | ||||
| Summary | 06431: It should not be possible to copy tokens back to the panel if they're already coming from it | ||||
| Description | LS 2.0 currently allows the following operation:
=> this leads to a CDbException (see below). I guess this operation should be forbidden, in that tokens matching participants already in the panel db should be filtered out during that operation. CDbException | ||||
| Steps To Reproduce | See description. If description is not sufficient I can provide more detailed steps. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 120721 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Mozilla 14.0.1 (Win) | ||||
| Database type & version | Mysql 5.5.24 | ||||
| Server OS (if known) | Linux 2.6.27.52 | ||||
| Webserver software & version (if known) | Apache 2 | ||||
| PHP Version | 5.3.14 | ||||
| Git branch / Pull Request URL | |||||
|
The intention is that if you copy a participant from the tokens table back to the participants table, the system will recognise that they already exist, and then update any attributes, but otherwise leave the participant as is. I'll check this error and see if I can fix it. Jason |
|
|
Since you're there . . . would an "update / overwrite / cancel" dialog become appropriate before taking any step? Or an "Update / Cancel" ? |
|
|
@abita1: Yep, this functionality is available already - when mapping attributes back to the central participants database you can choose whether or not to overwrite data. @lolo: I can't replicate this problem - the script correctly does not attempt to create a new participant in the CPDB when copying from a tokens table back to the central database. Can you confirm you're using RC8, and let me know if the tokens table/survey you are using was upgraded from a previous version, or if it was created in this version of LS 2? |
|
|
@Jason: You may be right. I am currently testing git version from 2012-08-08. I did re-create the tokens table (to make sure it was fresh) and tried it again => could not get the error again. I believe this issue can be closed. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-08-05 17:37 | lolo | New Issue | |
| 2012-08-05 17:50 | c_schmitz | Assigned To | => jcleeland |
| 2012-08-05 17:50 | c_schmitz | Status | new => assigned |
| 2012-08-07 06:28 | jcleeland | Note Added: 20237 | |
| 2012-08-08 15:12 | abita1 | Note Added: 20281 | |
| 2012-08-08 15:13 | abita1 | Issue Monitored: abita1 | |
| 2012-08-08 15:28 | abita1 | Note Edited: 20281 | |
| 2012-08-09 08:47 | jcleeland | Note Added: 20298 | |
| 2012-08-09 10:18 | lolo | Note Added: 20299 | |
| 2012-08-15 01:01 | jcleeland | Status | assigned => closed |
| 2012-08-15 01:01 | jcleeland | Resolution | open => fixed |
| 2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |
| 2021-08-05 14:14 | guest | Bug heat | 6 => 8 |