Expression Engine Parsing #18233
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Expressions
Related to the QGIS expression engine or specific expression functions
Author Name: SF GIS (@digibirdtrek)
Original Redmine Issue: 9666
Affected QGIS version: 2.2.0
Redmine category:expressions
Update breaks expression engine string builder handling of at least conditional statements. This appears to be a parsing error when saving an expression. Discovered when using a conditional expression in the data defined properties of a style.
Example:
Once the string is committed, the space before the ELSE is stripped out, rendering the expression invalid.
Attempted to double quote the data fields and use multiple lines in the statement, however the double quotes and line feeds are stripped when the expression is committed ending with the same result.
Once the data defined properties window is closed, the expression is removed entirely and replaced with "(no root)" without the quotes.
The text was updated successfully, but these errors were encountered: