-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
1
-
Tools and Replicator
-
0.5
Problem Statement/Rationale
The difference seems to be that the earlier test was against 7.0.26 while the latter used 7.0.28.
This seems to relate to this section of mongofiles_get.js:
// This escaping is required because of a bug with argument quoting pre 8.1, fixed by SERVER-96103
if (_isWindows()) {
if (isAtLeastVersion(db.version(), "8.0.16")) {
// no escaping needed
} else if (!isAtLeastVersion(db.version(), "8.0.0") && isAtLeastVersion(db.version(), "7.0.27")) {
// no escaping needed for 7.0.27 & later 7.0 releases
} else {
idAsJSON = '"' + idAsJSON.replace(/"/g, '\\"') + '"';
}
}
The specific test error reflects a JSON-validity issue.
Steps to Reproduce
This has been broken on every waterfall run since.
Expected Results
This test should pass.
Actual Results
The test fails.
Additional Notes
This doesn’t affect production and need not impede the 100.14.1 release.
- is related to
-
TOOLS-4059 mongofiles invalid JSON input due to `$` | system-failed: qa-tests-7.0 on windows [mongo-tools @ f0e99395] (mongofiles_get.js)
-
- Closed
-