Skip to content

Handle null dbField when saving template columns#1078

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

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.
@foldynl

foldynl commented Jul 7, 2026

Copy link
Copy Markdown
Owner

v0.51.1

@foldynl foldynl closed this Jul 7, 2026
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.

2 participants