Skip to content

Execution blocked because of one script #106

Description

@Lysoun

Using Datamaintain embedded in our server launch. It seems to be stuck while execute this script: https://github.com/4sh/izivia-mbp-srv-core/blob/dev-1.41/srv/data/releaseUpdates/v1.41.0.2_remove_DEBT_CLAIM_invoice_status.js when instantiating the configuration like this:

String mongoUriWithDbName = String.format("%s/%s", MONGO_URI, dbName);
final DatamaintainDriverConfig datamaintainDriverConfig = new MongoDriverConfig(mongoUriWithDbName);

But works fine when instantiating it like that:

String mongoUriWithDbName = String.format("%s/%s", MONGO_URI, dbName);
final DatamaintainDriverConfig datamaintainDriverConfig = new MongoDriverConfig(
               mongoUriWithDbName,
               Paths.get(MongoConfigKey.DB_MONGO_TMP_PATH.getDefault()),
               Paths.get(MongoConfigKey.DB_MONGO_CLIENT_PATH.getDefault()),
               true
);

Please start by investigating why this happens, explain it in this issue and then fix the bug.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions