View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 07324 | Bug reports | Expression Manager | public | 2013-02-24 18:23 | 2013-02-25 14:59 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Summary | 07324: Relevance on multi numeric break Sub-question validation equation: | ||||
| Description | If you have some relevance on a question with Sub-question validation equation. The Sub-question validation equation can not be OK | ||||
| Steps To Reproduce | Import included lss file,
| ||||
| Additional Information | Same think with sum(self)>5 for example : if one subq is not relevant then not validated. The test is: Here, simple test can be: But if there are multiple condition: if(LEMif(LEManyNA('Products_P1,Products_P2'),true,(((LEMsum( ! (LEMval('Products_P1') < 5) and ! (LEMval('Products_P1') < 3), ! (LEMval('Products_P1') < 5),! (LEMval('Products_P1') < 3), ! (LEMval('Products_P1') < 5)) == 0))))){good}else{error} A good solution can be test each validation and put true in not relevant, but what for sum(self} ? | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 120224 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| Git branch / Pull Request URL | |||||
|
Oups .... LEManyNA return false if one var is irrelevant. |
|
|
Will you take this one? |
|
|
Can take, but really don't know what to do. Some test can be simple. sum(self) do sum(self) with relevant sub question (else sum(self)==0) But what for : It's a "need reflexion" bug. Maybe have: I'm not sure what is the best system. |
|
|
Sorry : not a bug .... isrelevant function exist .... sum(self.NAOK) send true every time, but if need better control, can use sum(QQ_QS1.NAOK,QQ_QS2.NAOK,QQ_QS3.NAOK)>XXX |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-02-24 18:23 | DenisChenu | New Issue | |
| 2013-02-24 18:24 | DenisChenu | File Added: limesurvey_survey_EMrelevance_sqvalidation.lss | |
| 2013-02-24 19:08 | DenisChenu | Note Added: 24241 | |
| 2013-02-24 19:09 | DenisChenu | Note Edited: 24241 | |
| 2013-02-25 10:19 | c_schmitz | Note Added: 24251 | |
| 2013-02-25 14:55 | DenisChenu | Note Added: 24282 | |
| 2013-02-25 14:55 | DenisChenu | Note Edited: 24282 | |
| 2013-02-25 14:57 | c_schmitz | Issue Monitored: TMSWhite | |
| 2013-02-25 14:59 | DenisChenu | Note Added: 24283 | |
| 2013-02-25 14:59 | DenisChenu | Status | new => closed |
| 2013-02-25 14:59 | DenisChenu | Assigned To | => DenisChenu |
| 2013-02-25 14:59 | DenisChenu | Resolution | open => fixed |