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

Execution blocked because of one script #106

Open
Lysoun opened this issue Nov 16, 2020 · 0 comments
Open

Execution blocked because of one script #106

Lysoun opened this issue Nov 16, 2020 · 0 comments
Labels
bug Something isn't working embedded execute

Comments

@Lysoun
Copy link
Member

Lysoun commented Nov 16, 2020

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.

@Lysoun Lysoun added bug Something isn't working execute embedded labels Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working embedded execute
Projects
None yet
Development

No branches or pull requests

1 participant