View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04280 | Bug reports | Other | public | 2010-04-15 15:02 | 2010-08-04 16:20 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 1.87+ | ||||
Summary | 04280: wrong additional language list | ||||
Description | When you have a servey with additional languages and you remove them through an edit, you will get the PHP error "Warning: array_map() [function.array-map]: Argument #2 should be an array in [...]\admin\html.php on line 2749" When you launch the servey (e.g. through the mainpage list) you will get the additional language box even if only the base language is defined. Also you will get the base survey listed for every language. | ||||
Steps To Reproduce |
| ||||
Additional Information | We use MSSQL (dunno if it happens with other database engines too) and the field "additional languages" as a content of length 0. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 8518 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | MSSQL 2008 | ||||
Server OS (if known) | Windows Server 2003 | ||||
Webserver software & version (if known) | IIS | ||||
PHP Version | 5.1.4 | ||||
It would be better to set the column to NULL if no additional language available. I just recognized, that you will still see the survey in the base language. doesn't matter which language you selected |
|
I can't reproduce the problem neither on the latest 1.90beta nor at version 1.87 build 8518. Can you attach a sample survey containing the two languages? If I got you right, fanste, importing the survey and deleting the additional language should reproduce the error? |
|
Currently I'm not in the company (internal server). I just tried to reproduce the error on the local machine mit MySQL, but there i also don't get this error anymore (Maybe the error-settings are different). But the effect is still the same: You will still see the survey in the base language (mainpage) when you select a language from the dropdown thats not the base one. Normaly you should get an error message (For german: "Es gibt leider keine passende Umfrage.") Maybe I have the time to test it in the company again. The exact way to reproduce it was:
|
|
Please do some further testing and report back if this issue still needs to be solved. Thanks! |
|
Feedback? |
|
Sorry, I forgot to answer. I am currently not able to test it on the machine (IIS, MSSQL,...) where the error occures, because I am not in the company (studying atm). I will test it again and send you some feedback as soon as possible. |
|
Please provide some feedback or we'll have to close this ticket. |
|
Unable to reproduce. Closing due to missing feedback. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-04-15 15:02 |
|
New Issue | |
2010-04-15 15:02 |
|
Status | new => assigned |
2010-04-15 15:02 |
|
Assigned To | => user372 |
2010-04-15 15:16 |
|
Note Added: 11616 | |
2010-05-12 00:02 | Mazi | Note Added: 11769 | |
2010-05-12 00:02 | Mazi | Assigned To | user372 => Mazi |
2010-05-12 00:02 | Mazi | Status | assigned => feedback |
2010-05-12 08:25 |
|
Note Added: 11784 | |
2010-05-12 08:25 |
|
Status | feedback => assigned |
2010-05-19 13:26 | Mazi | Note Added: 11867 | |
2010-05-19 13:26 | Mazi | Status | assigned => feedback |
2010-05-26 13:49 | Mazi | Note Added: 11958 | |
2010-05-26 20:29 |
|
Note Added: 11986 | |
2010-05-26 20:29 |
|
Status | feedback => assigned |
2010-06-01 16:04 | Mazi | Status | assigned => feedback |
2010-07-13 02:27 | Mazi | Note Added: 12401 | |
2010-08-04 16:10 | c_schmitz | Assigned To | Mazi => c_schmitz |
2010-08-04 16:10 | c_schmitz | Status | feedback => assigned |
2010-08-04 16:20 | c_schmitz | Note Added: 12551 | |
2010-08-04 16:20 | c_schmitz | Status | assigned => closed |
2010-08-04 16:20 | c_schmitz | Assigned To | c_schmitz => |
2010-08-04 16:20 | c_schmitz | Resolution | open => unable to reproduce |
2010-10-25 00:21 | c_schmitz | Category | Data Access => (No Category) |