View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04534 | Bug reports | Other | public | 2010-08-16 12:04 | 2010-10-13 16:22 |
Reporter | mdekker | Assigned To | mdekker | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Fixed in Version | 1.90+ | ||||
Summary | 04534: Sometimes multiple options questions get the other field while they shouldn't | ||||
Description | There is an error in the createfieldmap function that causes certain surveys to have other fields for type M & P questions. The reason is that alsoother variable is only set to Y when needed, but never reset. Once we have a Y value all following questions get the other option. | ||||
Additional Information | As this function is used to create the database, there are also extra fields in the database. As far as I have quickly checked qanda.php checks for the other fields itself and doesn't depend on the fieldmap so for survey taking there is no error. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 9061 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | dna | ||||
Server OS (if known) | dna | ||||
Webserver software & version (if known) | dna | ||||
PHP Version | dna | ||||
It can be fixed easily by updating the fieldmap function but some people can be left with a database that has some extra fields. Not sure what will happen there as sometimes we read the fields in the table and sometimes we use a fieldmap. |
|
Menno, afaik we always use the fieldmap - I would not know any place where the actual fields are used as orientation. Just update the fieldmap function so these obsolete fields are not created anymore. |
|
I know that in SPSS / R export I go through all the database fields and try to match them against a fieldmap field. And as a lot of older functions are copy/paste/modify I think there might be other places where this is done. Still impact should be minor as it was only present for a short time i think and only under certain conditions. I will see if i can find problems in code and fix them as i find them or mark them here. I will commit the fieldmap fix now so it can go in a plus version. Edit: createfieldmap was fixed in svn 9065 |
|
tse, tse, you should never rely on the table, always on the getfieldmap function ;) |
|
The fieldmap function was updated a while ago and I am not aware of any resulting errors so the bug can be closed. |
|
Released in latest Plus version |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-08-16 12:04 | mdekker | New Issue | |
2010-08-16 12:05 | mdekker | Assigned To | => mdekker |
2010-08-16 12:05 | mdekker | Status | new => assigned |
2010-08-16 12:06 | mdekker | Note Added: 12633 | |
2010-08-16 12:06 | mdekker | Assigned To | mdekker => c_schmitz |
2010-08-16 12:06 | mdekker | Status | assigned => feedback |
2010-08-16 22:41 | c_schmitz | Note Added: 12638 | |
2010-08-16 22:41 | c_schmitz | Assigned To | c_schmitz => mdekker |
2010-08-16 22:41 | c_schmitz | Status | feedback => assigned |
2010-08-17 08:39 | mdekker | Note Added: 12641 | |
2010-08-17 08:42 | mdekker | Note Edited: 12641 | |
2010-08-17 09:20 | c_schmitz | Note Added: 12642 | |
2010-10-08 11:05 | mdekker | Note Added: 13042 | |
2010-10-08 11:05 | mdekker | Status | assigned => resolved |
2010-10-08 11:05 | mdekker | Fixed in Version | => 1.90+ |
2010-10-08 11:05 | mdekker | Resolution | open => fixed |
2010-10-13 16:22 | c_schmitz | Note Added: 13129 | |
2010-10-13 16:22 | c_schmitz | Status | resolved => closed |