Hi,

I send twice the same request to create a database:

POST http://ml9ea4:8002/manage/v2/databases
{ 'database-name': 'xxx-content',
  'range-element-index':
   [ { 'scalar-type': 'string',
       localname: 'xyz',
       'range-value-positions': false,
       'invalid-values': 'ignore',
       'namespace-uri': '',
       collation: 'http://marklogic.com/collation/' } ] }

Because the requests are the same, I expected the second one to pass, just
doing nothing.  But I get the following error instead:

"Entity not created: MANAGE-CONFLICTINGCONFIG: (err:FOER0000) A conflict
has been detected:  database configurations differ."

Is this the expected behavior?  I could not find a definitive answer in the
documentation.

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2o.consulting/ - New website!
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to