View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05689Bug reportspublic2021-12-16 13:08
ReporterTMSWhite Assigned ToTMSWhite  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version1.92RC2 
Summary05689: Overly lengthy surveys: HTML and JavaScript generated for all sub-questions even if array_filter should exclude them
Description

If an array_filter is set on a prior page, there is no way that filtered questions could be relevant, so don't generate the HTML and JavaScript for them.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)12187
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)XAMPP
PHP Version5.3
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-01-27 19:24

reporter   ~17033

[[Transcript from discussion on 1/27/2011]]

[18:26] <c_schmitz> hidden by what?
[18:27] <TMSWhite> always_hidden attribute
[18:27] <c_schmitz> yeah, the attribute is not detailed enough
[18:27] <c_schmitz> it should have two states at least
[18:27] <c_schmitz> ok, three
[18:27] <TMSWhite> Right now, even if always_hidden, as long as the question is relevant, it doesn't cascade to make questions that depend upon the always_hidden question also irrelevant
[18:28] <TMSWhite> the advantage of that approach is that you can havfe always_hidden variables into which you can pre-fill data from the URL (or fields in the DB that you can fill after the survey is done)
[18:28] <c_schmitz> Off (Question behaves normally), Hidden (can be seen in HTML output, just always hidden), No output (no output)
[18:28] <c_schmitz> TMSWhite: I agree
[18:29] <TMSWhite> good - so no core change needed at this time
[18:29] <TMSWhite> Off / Hidden / No output is good idea for the future
[18:29] <c_schmitz> yeah
[18:30] <TMSWhite> I've prototyped part of that for hiding sub-questions, but it was breaking things, so I've tabled it.
[18:30] <c_schmitz> yeah, that's fine
[18:30] <TMSWhite> OK, so I'll table this bug for now: http://bugs.limesurvey.org/view.php?id=5689

galads

galads

2021-12-16 13:08

reporter   ~67800

Hello TMSWhite,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

Issue History

Date Modified Username Field Change
2012-01-24 21:08 TMSWhite New Issue
2012-01-24 21:08 TMSWhite Status new => assigned
2012-01-24 21:08 TMSWhite Assigned To => TMSWhite
2012-01-27 19:24 TMSWhite Note Added: 17033
2012-02-23 16:42 TMSWhite Project Bug reports => @10@
2021-12-16 13:08 galads Note Added: 67800
2021-12-16 13:08 galads Status assigned => closed
2021-12-16 13:08 galads Resolution open => fixed
2026-11-20 10:33 c_schmitz Category Survey taking => (No Category)