Summary: | Kate does not store configured SQL connection | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Andreas Blochberger <andreas.blochberger> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | andreas, christoph, justin.zobel, maxmustermann1884, ms27, yjxrtzyx |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 22.04.0 | |
Sentry Crash Report: |
Description
Andreas Blochberger
2016-01-21 11:05:55 UTC
Do you use Kate Sessions? If not, could you try and see whether it works then? I have the same issue, tried using sessions and kwallet and a different pc. connection information are stored in kwallet, but kate won't use them after a restart. also when connecting to a sql database terminal output of kate returns this: "QSqlDatabasePrivate::removeDatabase: connection 'katesql-test' is still in use, all queries will cease to work." haven't tried with a clean user profile yet, should this work out of the box? It's because the KateSQLView class should inherit the SessionConfigInterface. See https://api.kde.org/frameworks/ktexteditor/html/classKTextEditor_1_1SessionConfigInterface.html https://cgit.kde.org/kate.git/tree/addons/katesql/katesqlview.h Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks. (In reply to Justin Zobel from comment #4) Retested scenario from comment #0 with version 17.12.3 and it is still reproducible (In reply to Andreas Blochberger from comment #5) > (In reply to Justin Zobel from comment #4) > Retested scenario from comment #0 with version 17.12.3 and it is still > reproducible 17.12.3 is nearly 3 years old. Is there a way you can get newer versions in your distribution? (In reply to Justin Zobel from comment #6) > 17.12.3 is nearly 3 years old. True. Tried it at home with kate 20.08.3 and it is also reproducible Looking in the wallet manager, the connection I have created is there, but kate does not show it Implement SessionConfigInterface in sql plugin (and expanded it's functionality to store SQLite connections) https://invent.kde.org/utilities/kate/-/merge_requests/522 |