View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03596 | Bug reports | Survey taking | public | 2009-08-25 12:02 | 2009-09-15 12:30 |
Reporter | mdekker | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.85+ | ||||
Fixed in Version | 1.85+ | ||||
Summary | 03596: Javascript error causes array filter to function unstable in group by group or survey at once mode | ||||
Description | See attached survey, when first question is answered: 1, 2, 3, 4 the next question opens up perfect. When deselecting in the same order no problem as well. Now try select 1,2,3,4 and then deselect 1 (no problem) deselect 4... nothing happens. (in IE8 it even crashes my browser) | ||||
Additional Information | In firefox with firebug I see an error for the radioObj. Fix is to make the radio_unselect function check whether the passed radioObj exists or not. However, I think there is more to it. I think the problem is that the deselect function tries to unset answers if the input is going to be hidden. For radio question this seems to work but for the multi flexi text / number this doesn't work. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | |||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | |||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | |||||
I can reproduce an error (tested with FF3.5): |
|
Josef, can you check the latest version in IE8 with the attached survey. |
|
In the meantime I upgraded my installation from rev. 7549 to rev. 7557 and I can reproduce the error, that IE8 is crashing at unselecting things. |
|
Wow, what a weird error, and it's even crashing the browser. |
|
After a few crashes... IE gets into compatibility mode with me and then it seems to work... really annoying. Must be buggy IE8, since there is more oneliners floating around that crash ie8: http://www.domnodes.org/wp/?p=11 |
|
Problem seems only to occur when deselecting a box while the next one is still selected... |
|
even more weird ;) |
|
Just a wild thought... could it be that resetting a value triggers another event and thus creates some sort of loop that makes IE8 crash? |
|
Could be possible. I think the best way to find out is to manually edit a saved HTML page down to the point where it does not happen anymore. |
|
It is just the second question that crashes the thing... Maybe as a quick fix the array filter can be disabled for the multi flexi text? |
|
Looks like the culprit was malformed HTML, a TBODY in a TBODY tag. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-08-25 12:02 | mdekker | New Issue | |
2009-08-25 12:02 | mdekker | Status | new => assigned |
2009-08-25 12:02 | mdekker | Assigned To | => user372 |
2009-08-25 12:02 | mdekker | File Added: limesurvey_survey_91376.csv | |
2009-08-25 12:21 | mdekker | Summary | Javascript error causes conditions to function unstable in group by group or survey at once mode => Javascript error causes array filter to function unstable in group by group or survey at once mode |
2009-08-25 12:21 | mdekker | Description Updated | |
2009-08-25 12:21 | mdekker | Additional Information Updated | |
2009-08-25 18:10 |
|
Note Added: 09213 | |
2009-08-25 18:11 |
|
Assigned To | user372 => c_schmitz |
2009-08-27 16:22 | c_schmitz | Status | assigned => resolved |
2009-08-27 16:22 | c_schmitz | Fixed in Version | => 1.85+ |
2009-08-27 16:22 | c_schmitz | Resolution | open => fixed |
2009-08-31 15:12 | c_schmitz | Status | resolved => closed |
2009-09-02 03:01 | c_schmitz | Status | closed => feedback |
2009-09-02 03:01 | c_schmitz | Resolution | fixed => reopened |
2009-09-02 03:01 | c_schmitz | Note Added: 09322 | |
2009-09-02 03:01 | c_schmitz | Status | feedback => assigned |
2009-09-02 03:01 | c_schmitz | Assigned To | c_schmitz => user372 |
2009-09-02 07:50 |
|
Assigned To | user372 => c_schmitz |
2009-09-02 08:04 |
|
Note Added: 09326 | |
2009-09-02 13:14 | c_schmitz | Note Added: 09336 | |
2009-09-02 14:07 | mdekker | Note Added: 09337 | |
2009-09-02 14:15 | mdekker | Note Added: 09338 | |
2009-09-02 14:22 | c_schmitz | Note Added: 09339 | |
2009-09-02 14:30 | mdekker | Note Added: 09340 | |
2009-09-02 14:41 | c_schmitz | Note Added: 09341 | |
2009-09-02 14:49 | mdekker | Note Added: 09342 | |
2009-09-07 23:07 | c_schmitz | Note Added: 09449 | |
2009-09-07 23:07 | c_schmitz | Status | assigned => resolved |
2009-09-07 23:07 | c_schmitz | Resolution | reopened => fixed |
2009-09-15 12:30 | c_schmitz | Status | resolved => closed |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |