Skip to content

v7.0.0 breaks EARDBD report plugin loading, due to leftover code from testing #6

Description

@CharlieThornton33

In release v7.0.0, no matter what is set in ear.conf EARDBD will load the dummy.so report plugin, and hence is unable to write to a database. This is due to a leftover instance of hardcoding dummy.so, which presumably was used for some sort of testing prior to the release:

/* Reporting plugin */
if (state_fail(report_load(conf_clus->install.dir_plug, "dummy.so"))) {
// if (state_fail(report_load(conf_clus->install.dir_plug, conf_clus->db_manager.plugins))){
edb_error("Report error during loading: %s", state_msg);
exit(EXIT_FAILURE);
}

Removing line 166 and uncommenting line 167 resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions