View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04392 | Bug reports | Other | public | 2010-06-04 21:46 | 2010-06-08 21:51 |
Reporter | jdalegonzalez | Assigned To | lemeur | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87 | ||||
Fixed in Version | 1.90RC1 | ||||
Summary | 04392: limesurvey/admin/html.php forces a second lookup of question type | ||||
Description | Around line 1191, html.php calls getQuestionAttributes passing in just the QID. Two things. First, because the question type isn't also passed in, getQuestionAttributes looks up the question type in the DB. This lookup isn't necessary since question type is available in $qrrow['type'] and could be passed to getQuestionAttributes. Second, $qid_attributes (the variable that stores the return from getQuestionAttributes) isn't ever used. Seems like the entire call to getQuestionAttributes on line 1191 could be dumped. | ||||
Steps To Reproduce | Pull up limesurvey/admin/html.php | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 8516 | ||||
I will donate to the project if issue is resolved | |||||
Browser | All | ||||
Database type & version | All | ||||
Server OS (if known) | All | ||||
Webserver software & version (if known) | All | ||||
PHP Version | All | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-06-04 21:46 | jdalegonzalez | New Issue | |
2010-06-04 21:46 | jdalegonzalez | Status | new => assigned |
2010-06-04 21:46 | jdalegonzalez | Assigned To | => user372 |
2010-06-04 22:08 | lemeur | Assigned To | user372 => lemeur |
2010-06-04 22:14 | lemeur | Note Added: 12177 | |
2010-06-04 22:14 | lemeur | Status | assigned => resolved |
2010-06-04 22:14 | lemeur | Fixed in Version | => 1.90RC1 |
2010-06-04 22:14 | lemeur | Resolution | open => fixed |
2010-06-08 21:51 | c_schmitz | Status | resolved => closed |
2010-10-25 00:21 | c_schmitz | Category | Data Access => (No Category) |