View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06207 | Bug reports | Survey editing | public | 2012-06-12 21:54 | 2012-07-05 22:29 |
Reporter | Assigned To | c_schmitz | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92+ | ||||
Fixed in Version | 1.92+ | ||||
Summary | 06207: [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid' | ||||
Description | [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid'.:select distinct c., q.sid, q.type from [lime_conditions] as c, [lime_questions] as q where c.qid in (select qid from [lime_questions] where sid = 94154) and c.cqid=q.qid union select c., q.sid, '' as type from [lime_conditions] as c, [lime_questions] as q where c.qid in (select qid from [lime_questions] where sid = 94154) and c.cqid = 0 and c.qid = q.qid order by sid, qid, scenario, cqid, cfieldname, value | ||||
Steps To Reproduce | It occours while editting answers options in a question with type "list(radio)" | ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | 120608 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Mozilla Firefox 12 | ||||
Database type & version | MSSQL 2000 | ||||
Server OS (if known) | Windows Server 2003 | ||||
Webserver software & version (if known) | IIS 6 | ||||
PHP Version | PHP 5.2.6 | ||||
We had the same issue at our end which also affected the import process. In the end it was simply a one line change in LimeExpressionManager.php: If you change the following line: To: This prevents the "qid" column name from being ambiguous. If you want me to submit this as a patch then let me know. Hope that helps, |
|
Thank you! |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8781 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8787 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8792 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8793 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8794 |
|
New 1.92+ version released. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8902 |
|
LimeSurvey: master d399fb7e 2012-06-19 05:28 Details Diff |
Fixed issue 06207: [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid' |
Affected Issues 06207 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
LimeSurvey: Yii 8ec13f0f 2012-06-19 05:28 Details Diff |
Fixed issue 06207: [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid' |
Affected Issues 06207 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
LimeSurvey: master 781b26ba 2012-06-19 09:03 Details Diff |
Fixed issue 06207: [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid' Dev reverted commit d399fb7eb78f2427a26edda6ce4442426949f4a8, since although it may fix MSSQL, it breaks MySql |
Affected Issues 06207 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
LimeSurvey: master 165b5e7e 2012-06-19 09:10 Details Diff |
Fixed issue 06207: [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid' Dev now properly handles different SQL syntax between MSSQL and others |
Affected Issues 06207 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
LimeSurvey: Yii ca448238 2012-06-19 09:33 Details Diff |
Fixed issue 06207: [Microsoft][ODBC SQL Server Driver][SQL Server]Ambiguous column name 'qid' Dev now properly handles different SQL syntax between MSSQL and others |
Affected Issues 06207 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
LimeSurvey: master bd59bd74 2012-07-05 15:29 Details Diff |
Fixed issue 06207: Error "Ambiguous column name 'qid'" when using MSSQL server and editing answer options |
Affected Issues 06207 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
mod - common.php | Diff File | ||
mod - common_functions.php | Diff File | ||
mod - statistics_user.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-12 21:54 |
|
New Issue | |
2012-06-12 22:30 | c_schmitz | Assigned To | => c_schmitz |
2012-06-12 22:30 | c_schmitz | Status | new => assigned |
2012-06-14 12:35 |
|
Note Added: 19250 | |
2012-06-14 12:36 |
|
Issue Monitored: user20391 | |
2012-06-19 12:28 | c_schmitz | Note Added: 19349 | |
2012-06-19 12:28 | c_schmitz | Status | assigned => resolved |
2012-06-19 12:28 | c_schmitz | Fixed in Version | => 1.92+ |
2012-06-19 12:28 | c_schmitz | Resolution | open => fixed |
2012-06-19 12:36 | c_schmitz | Changeset attached | => LimeSurvey Yii 8ec13f0f |
2012-06-19 12:36 | c_schmitz | Note Added: 19354 | |
2012-06-19 13:01 | c_schmitz | Changeset attached | => LimeSurvey master d399fb7e |
2012-06-19 13:01 | c_schmitz | Note Added: 19357 | |
2012-06-19 16:03 | TMSWhite | Changeset attached | => LimeSurvey master 781b26ba |
2012-06-19 16:03 | TMSWhite | Note Added: 19363 | |
2012-06-19 16:11 | TMSWhite | Changeset attached | => LimeSurvey master 165b5e7e |
2012-06-19 16:11 | TMSWhite | Note Added: 19364 | |
2012-06-19 16:33 | TMSWhite | Changeset attached | => LimeSurvey Yii ca448238 |
2012-06-19 16:33 | TMSWhite | Note Added: 19365 | |
2012-06-20 14:08 | c_schmitz | Note Added: 19384 | |
2012-06-20 14:08 | c_schmitz | Status | resolved => closed |
2012-06-26 15:14 | Mazi | Relationship added | has duplicate 06274 |
2012-07-05 22:29 | c_schmitz | Changeset attached | => LimeSurvey master bd59bd74 |
2012-07-05 22:29 | c_schmitz | Note Added: 19631 | |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |