-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Line width size assistant fails to load values when column is name "LENGTH" #22254
Comments
Author Name: Paolo Cavallini (@pcav)
|
Author Name: Giovanni Manghi (@gioman) it works if you use the same datatype but use a different column name... "LENGTH" looks like a reserved word.
|
Author Name: Paolo Cavallini (@pcav) Good point. However, LENGTH is a valid column name in DBF, and I do not think we should impose additional limitations. |
Author Name: Giovanni Manghi (@gioman) Paolo Cavallini wrote:
It is a bad practice anyway, I would not be contrary having QGIS not creating columns after any reserved word.
|
Author Name: Paolo Cavallini (@pcav) I confirm that with quotes the expression is valid. I cannot check whether variable content is recognized. |
Author Name: Regis Haubourg (@haubourg) Well, if postgres can be a reference implementation of SQL for us, user fields name is illegal as a SQL keyword when "user" is legal. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Paolo Cavallini (@pcav) Fixed now. Tested in QGIS 3.
|
Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 14258
Affected QGIS version: master
Redmine category:symbology
The assistant fails to load values of a variable (length, real) from a particular layer.
Other variables (integers, strings) are loaded.
The text was updated successfully, but these errors were encountered: