Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data defined expressions with single number get lost #18354

Closed
qgib opened this issue Mar 19, 2014 · 1 comment
Closed

Data defined expressions with single number get lost #18354

qgib opened this issue Mar 19, 2014 · 1 comment
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
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 19, 2014

Author Name: Nyall Dawson (@nyalldawson)
Original Redmine Issue: 9823
Affected QGIS version: master
Redmine category:expressions


If I go into data defined properties for a symbol, and create an expression which contains only a single numeric value, eg "10", then this expression is immediately lost after clicking the OK button. A workaround is entering an expression such as "10+0", which is accepted by QGIS and retained.

I realise it's probably not that common to have a single constant value as an expression, but it should still be possible to do this.

@qgib
Copy link
Contributor Author

qgib commented Mar 30, 2014

Author Name: Giovanni Manghi (@gioman)


Still true on the latest master, while another issue (the one that stripped "(" from the data defined expressions) seems solved.

Moreover the workaround 10+0 does not works on master.

Merging with #18325


  • resolution was changed from to duplicate
  • fixed_version_id was configured as Version 2.4
  • status_id was changed from Open to Closed

@qgib qgib added 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 labels May 24, 2019
@qgib qgib added this to the Version 2.4 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant