Skip to content
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

Report duplicate INI sections #98

Closed
ompiteam opened this issue Sep 13, 2014 · 4 comments
Closed

Report duplicate INI sections #98

ompiteam opened this issue Sep 13, 2014 · 4 comments
Assignees
Milestone

Comments

@ompiteam
Copy link
Contributor

{{{mtt}}} should gracefully report duplicate INI sections. E.g., if the {{{[Reporter: IU Database]}}} section is accidentally duplicated, {{{mtt}}} dies with the following unhelpful error:

{{{

Initializing reporter module: MTTDatabase
MTTDatabase
Evaluating: require MTT::Reporter::MTTDatabase
MTTDatabase
*** ERROR: Module aborted during require: MTT::Reporter::MTTDatabase
MTTDatabase: syntax error at (eval 15) line 4, near "require
MTT::Reporter::MTTDatabase
MTTDatabase
"
}}}

In other cases, {{{mtt}}} (via {{{Config::IniFiles}}}) takes one section, and ignores sections similarly named.

@ompiteam ompiteam self-assigned this Sep 13, 2014
@ompiteam ompiteam added this to the v1.1 milestone Sep 13, 2014
@ompiteam
Copy link
Contributor Author

Imported from trac issue 97. Created by emallove on 2006-10-09T14:25:41, last modified: 2006-11-05T16:00:09

@ompiteam
Copy link
Contributor Author

Trac comment by emallove on 2006-10-11 13:32:49:

(In [381]) Check that INI sections are not duplicated.

Fixes #97

@ompiteam
Copy link
Contributor Author

Trac comment by emallove on 2006-10-16 16:54:42:

(In [389]) Check that INI sections are not duplicated.

Fixes #97

@ompiteam
Copy link
Contributor Author

Trac comment by emallove on 2006-11-05 16:00:09:

(In [419]) * Check syntax of INI files (Refs #97)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant