Skip to content

Handle null dbField when saving template columns#1078

Open
aa5sh wants to merge 1 commit into
foldynl:masterfrom
aa5sh:bugfix-1077
Open

Handle null dbField when saving template columns#1078
aa5sh wants to merge 1 commit into
foldynl:masterfrom
aa5sh:bugfix-1077

Conversation

@aa5sh

@aa5sh aa5sh commented Jun 22, 2026

Copy link
Copy Markdown

#1077 In saveTemplateColumns (ui/CabrilloTemplateDialog.cpp) ensure col.dbField is converted to an empty string when null before binding to the SQL query. This prevents passing a null QString to the :field parameter, avoiding potential DB errors for columns without a defined dbField.

In saveTemplateColumns (ui/CabrilloTemplateDialog.cpp) ensure col.dbField is converted to an empty string when null before binding to the SQL query. This prevents passing a null QString to the :field parameter, avoiding potential DB errors for columns without a defined dbField.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant