View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05117 | Bug reports | Import/Export | public | 2011-04-18 13:11 | 2011-05-04 19:31 |
| Reporter | jadephoenix1988 | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.90+ | ||||
| Fixed in Version | 1.91 | ||||
| Summary | 05117: GetRandomID issue | ||||
| Description | when calling cmdline_importsurvey with all necessary parameters it crashs in the line 1737 in importsurvey.php at getRandomID(). $newsid = rand(10000,99999); fixed it | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 9642 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | mysql | ||||
| Server OS (if known) | windows server 2008 | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | php 5.3.5 | ||||
|
The fix is not safe vs. duplicate IDs. |
|
|
c_schmitz, this function is no longer included in LimeSurvey since revision 9648. In this context, it was replaced with GetNewSurveyID that works in a different way. I can't reproduce the error in newer versions. What should be done in this situation? Thank you, |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-04-18 13:11 | jadephoenix1988 | New Issue | |
| 2011-04-19 16:03 | c_schmitz | Note Added: 14846 | |
| 2011-04-19 16:04 | c_schmitz | Assigned To | => dionet |
| 2011-04-19 16:04 | c_schmitz | Status | new => assigned |
| 2011-04-19 20:20 | dionet | Note Added: 14848 | |
| 2011-04-19 20:20 | dionet | Assigned To | dionet => c_schmitz |
| 2011-04-19 20:29 | c_schmitz | Status | assigned => resolved |
| 2011-04-19 20:29 | c_schmitz | Fixed in Version | => 1.91 |
| 2011-04-19 20:29 | c_schmitz | Resolution | open => fixed |
| 2011-05-04 19:31 | c_schmitz | Status | resolved => closed |