Error when saving in manager (mongoDB as ConfigurationBackend)
Concerned version
Version: %2.0.0
Platform: (Nginx)
Summary
When save in manager we receive a Bad Request prompt. The backend was MongoDB, and working fine in 1.9.
The change, after the save, seem to be correctly set in data...
Configuration in ini for MongoDB Replicaset
type = MongoDB
dbName = llng_db
collectionName = configuration
host = mongodb://lemonldap_1.bd.interne.urgences-sante.qc.ca:27017,lemonldap_2.bd.interne.urgences-sante.qc.ca:27017,lemonldap_3.bd.interne.urgences-sante.qc.ca:27017
; authentication parameters
db_name = llng_db
username = quoi
password = cestunsecret
connect_timeout_ms=3000
read_pref_mode = primaryPreferred
replica_set_name = rs0
w = 1
wtimeout = 3000
Logs
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: Apply configuration for reload2.interne.urgences-sante.qc.ca: ok
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: Apply configuration for reload4.dmz.urgences-sante.qc.ca: ok
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: Apply configuration for reload3.dmz.urgences-sante.qc.ca: ok
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: Apply configuration for reload1.dmz.urgences-sante.qc.ca: ok
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: Apply configuration for reload1.interne.urgences-sante.qc.ca: ok
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: [anonymous] encountered object 'MongoDB::InsertOneResult=HASH(0x717fc98)', but neither allow_blessed nor convert_blessed settings are enabled at /usr/share/perl5/vendor_perl/Lemonldap/NG/Common/PSGI.pm line 119.
Dec 5 08:32:10 srv-pr-nginxv2 LLNG[7234]: Error 500: encountered object 'MongoDB::InsertOneResult=HASH(0x717fc98)', but neither allow_blessed nor convert_blessed settings are enabled at /usr/share/perl5/vendor_perl/Lemonldap/NG/Common/PSGI.pm line 119.
Backends used
MongoDB