You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Russell Fulton (Russell Fulton)
Original Redmine Issue: 11067
Affected QGIS version: 2.4.0
Redmine category:symbology
The layer style table has a field "f_table_name" which is char_varying(256). The idea is clearly to but the table name in here if the style applies to a postgis table. Fine. If the table is something more complicated (like a join) QGIS puts the SQL in the that field. If the text of the sql is over 256 characters the save fails with a misleading message about permission problems.
Firstly I suggest that the message be changed to something along the lines of "QGIS failed to insert this style in public.layer_style table. Most often this is a permission problem. See QGIS log for more details."
I would suggest that either QGIS does not save the sql in the name field or that it checks and truncates it if necessary.
Hmmm... I just changed the field type to text and it works fine now -- so that is another approach.
The text was updated successfully, but these errors were encountered:
closing for lack of feedback, please reopen if necessary.
resolution was changed from to invalid
status_id was changed from Feedback to Closed
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Symbology
Related to vector layer symbology or renderers
labels
May 25, 2019
Author Name: Russell Fulton (Russell Fulton)
Original Redmine Issue: 11067
Affected QGIS version: 2.4.0
Redmine category:symbology
The layer style table has a field "f_table_name" which is char_varying(256). The idea is clearly to but the table name in here if the style applies to a postgis table. Fine. If the table is something more complicated (like a join) QGIS puts the SQL in the that field. If the text of the sql is over 256 characters the save fails with a misleading message about permission problems.
Firstly I suggest that the message be changed to something along the lines of "QGIS failed to insert this style in public.layer_style table. Most often this is a permission problem. See QGIS log for more details."
I would suggest that either QGIS does not save the sql in the name field or that it checks and truncates it if necessary.
Hmmm... I just changed the field type to text and it works fine now -- so that is another approach.
The text was updated successfully, but these errors were encountered: