View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15803 | Bug reports | Expression Manager | public | 2020-01-31 08:46 | 2026-10-20 17:06 |
| Reporter | DenisChenu | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 3.22.1 | ||||
| Summary | 15803: No warning shown when compare numeric with string function | ||||
| Description | When comparing a number with a string function : there are no warning | ||||
| Steps To Reproduce | Import included lss : check logic But clearly | ||||
| Additional Information | Function return always NUMBER type | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 3.22 and 4.10 | ||||
| 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 | php7.3 | ||||
| Git branch / Pull Request URL | https://github.com/LimeSurvey/LimeSurvey/pull/5303 | ||||
|
lt? Same as '<'? |
|
|
https://manual.limesurvey.org/Expression_Manager#Operators
|
|
|
Oups : link where return a number : https://github.com/LimeSurvey/LimeSurvey/blob/eba81f2ab24d2b2484d7b2b1d730df191b573aed/application/helpers/expressions/em_core_helper.php#L2182 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40933 |
|
|
Fixed in Release 7.7.0+261020 |
|
|
LimeSurvey: master 364c1632 2026-10-20 13:02 Committer: GitHub Details Diff |
Fixed issue 15803: No warning shown when comparing numeric result with string result (05303) |
Affected Issues 15803 |
|
| mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
| mod - tests/unit/helpers/ExpressionWarningTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-01-31 08:46 | DenisChenu | New Issue | |
| 2020-01-31 08:46 | DenisChenu | File Added: Capture d’écran du 2020-01-31 08-46-33.png | |
| 2020-01-31 08:46 | DenisChenu | File Added: limesurvey_survey_BadWarning.lss | |
| 2020-01-31 08:47 | DenisChenu | Relationship added | related to 15802 |
| 2020-01-31 12:55 | ollehar | Note Added: 55582 | |
| 2020-01-31 12:55 | ollehar | Priority | none => normal |
| 2020-01-31 13:45 | ollehar | Status | new => acknowledged |
| 2020-01-31 13:45 | ollehar | Assigned To | => ollehar |
| 2020-01-31 13:45 | ollehar | Status | acknowledged => assigned |
| 2020-01-31 13:45 | ollehar | Status | assigned => acknowledged |
| 2020-01-31 14:12 | DenisChenu | Note Added: 55586 | |
| 2020-01-31 14:13 | DenisChenu | Note Added: 55587 | |
| 2026-09-14 23:22 | c_schmitz | Assigned To | ollehar => c_schmitz |
| 2026-09-14 23:22 | c_schmitz | Status | acknowledged => ready for code review |
| 2026-09-14 23:23 | c_schmitz | Story point estimate | => 0 |
| 2026-09-14 23:23 | c_schmitz | Git branch / Pull Request URL | => https://github.com/LimeSurvey/LimeSurvey/pull/5303 |
| 2026-10-20 13:02 | c_schmitz | Changeset attached | => LimeSurvey master 364c1632 |
| 2026-10-20 13:02 | c_schmitz | Note Added: 86554 | |
| 2026-10-20 13:02 | c_schmitz | Status | ready for code review => resolved |
| 2026-10-20 13:02 | c_schmitz | Resolution | open => fixed |
| 2026-10-20 13:02 | c_schmitz | Bug heat | 4 => 6 |
| 2026-10-20 17:06 | LimeBot | Note Added: 86630 | |
| 2026-10-20 17:06 | LimeBot | Status | resolved => closed |
| 2026-10-20 17:06 | LimeBot | Bug heat | 6 => 8 |