View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 07721 | Bug reports | Survey participants (Tokens) | public | 2013-03-31 19:37 | 2013-04-01 17:33 |
| Reporter | jackson1 | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | won't fix | ||
| Product Version | 2.00+ | ||||
| Summary | 07721: Token duplication | ||||
| Description | When creating tokens via the web interface, if you try to create a token that is already in the database, you get an error of However, if you create the token via the API, it will allow you to create the same token more than once. | ||||
| Steps To Reproduce | $myJSONRPCClient = new jsonRPCClient( LS_BASEURL.'/index.php/admin/remotecontrol' );
This should work the first time, but fail the second time it is run, as of now, it does not fail. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 130325 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | NA | ||||
| Database type & version | mysql | ||||
| Server OS (if known) | linux | ||||
| Webserver software & version (if known) | apache 2.2 | ||||
| PHP Version | 5.3 | ||||
| Git branch / Pull Request URL | |||||
|
That's currently the intended behaviour for mass-insertion of tokens. We just assumed that you know what you are doing ;). Seriously, the add_participants function currently lacks to set an according duplication filter, but if you check on the mass-import of tokens on the GUI you will notice that checking for duplication tokens is completely optional there, too. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-03-31 19:37 | jackson1 | New Issue | |
| 2013-04-01 17:33 | c_schmitz | Note Added: 24894 | |
| 2013-04-01 17:33 | c_schmitz | Status | new => closed |
| 2013-04-01 17:33 | c_schmitz | Assigned To | => c_schmitz |
| 2013-04-01 17:33 | c_schmitz | Resolution | open => won't fix |
| 2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |