-
Notifications
You must be signed in to change notification settings - Fork 103
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
include_sql_query requests unuseful parameters for CSV database driver #1437
Comments
Current situation and suggestionCurrent situation (at 6.2.68)Parameter usage in
* According to parameter usage in Parameter usage for the other SQL driver:
* According to parameter usage in Parameter definition in configuration schema (form 'sympa.conf' and data source definitions):
* "sympa" by default. SuggestionCorrections below are suggested:
|
I agree with your proposal. |
Yes, makes lots of sense to rename f_dir to db_name. 👍 |
Please check the PR above. |
include_sql_query requests unuseful parameters for CSV database driver (#1437)
(This issue was separated from the issue #1434.)
Version
At least 6.2.48 and later.
Installation method
Any.
Expected behavior
CSV driver requests only necessary parameters, which are currently
db_type
andf_dir
.Actual behavior
According to a report, Sympa won't let you define an
include_sql_query
withoutdb_name
,db_host
anddb_user
.Steps to reproduce
See "Steps to reproduce" in #1434 .
Additional information
Some parameters are inconsistent in usage across the various contexts of configurations. Correction will be suggested in subsequent comment.
The text was updated successfully, but these errors were encountered: