When I press the _Save_ button, the _edit function_ window closes but the _function document_ has not changed.
Mongo 3.4.4
Robo 3T 1.1.1
Windows 10 Enterprise
how to connect robomongo in live server
I have same issue.
function didn't save to db.system.js
Mongo 3.4.7
Robo 3T 1.1.1
Mac OS X
I also have this issue.
same issue
robo 3t 1.2
ubuntu
Same issue.
Xubuntu
Robo3T 1.2
function () {
db.getCollection("collectionA").remove({});
}
The above function will save, the following will not save nor overwrite an existing function:
function () {
db.getCollection("collectionA").remove({});
db.getCollection("collectionB").remove({});
}
It appears functions with more that 1 command fail to save?
It is possible to work around the issue for now by manually adding the function via JS:
db.system.js.save({
_id : "myFunc",
value : function() {
db.getCollection("collectionA").remove({});
db.getCollection("collectionB").remove({});
}
});
The above works without an issue.
Same issue, my gosh fix this already the workaround is annoying.
Most helpful comment
I have same issue.
function didn't save to
db.system.jsMongo 3.4.7
Robo 3T 1.1.1
Mac OS X