Hi, new commit: Name: Mongo-Core-MartinDias.49
Author: MartinDias Time: 17 March 2016, 12:41:15.956567 am UUID: 6597b821-e01e-48b0-85b5-14a60733363d Ancestors: Mongo-Core-HolgerHansPeterFreyther.48 Make MongoDatabase>>addCollection:capped:size:max: tolerate error 48, i.e. collection already exists. This was the behavior for adding a collection before version 44 of this package.
This is the change: addCollection: aString capped: aCapped size: aSize max: aMax | command reply | command := SmallDictionary new. command at: 'create' put: aString. aCapped ifTrue: [ command at: 'capped' put: true. aSize ifNotNil: [command at: 'size' put: aSize]. aMax ifNotNil: [command at: 'max' put: aMax]]. reply := self command: command. (reply at: 'ok' ifAbsent: [self halt]) = 1.0 ifFalse: [ *+++ "Tolerate error 48: collection already exists"* *+++ ((reply at: 'code') = 48) ifFalse: [ ^self error: 'Command failed' ]* *--- ^self error: 'Command failed'.* ]. ^MongoCollection database: self name: aString If no problem, I'll release 1.9.3 with this small change. Cheers, Martin On Wed, Mar 16, 2016 at 2:36 AM, Martin Dias <tinchodias@gmail.com> wrote:
Done: released 1.9.2.
However, I discovered a problem to run Voyage tests in the Test Runner (and in Nautilus). The problem comes from 1.9.1. This is weird because Travis builds are green... but in ui tools tests have this weird problem.
I reported it in https://github.com/estebanlm/voyage/issues/14
Martin
On Tue, Mar 15, 2016 at 5:07 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
+1
On 15 Mar 2016, at 20:53, Martin Dias <tinchodias@gmail.com> wrote:
Hi,
Voyage's build is green: https://travis-ci.org/tinchodias/voyage/jobs/116040942 (for the build I temporarily updated BaselineOfVoyage to load #development version of Mongo).
I will release 1.9.2 as stable if nobody disagrees.
Martin