Mongo-BSON was the package overriding duration. It over-rode duration's
accessor with
duration
^Duration seconds: self asSeconds nanoSeconds: 0
--
View this message in context:
http://forum.world.st/Possible-bug-with-Voyage-Mongo-date-tp4735597p4735638.html
Sent from the Pharo Smallt
For
Date today duration, I got '41281:18:30:00'
and for (Date readFrom: '01-23-2004' readStream) duration: '37641:18:30:00'.
I've loaded only a few packages over the default image
Seaside3(3.1)
VoyageMongo,
JSON
I'm currently looking at the Date class to see if some package overrides any
m
I just ran the entire test suite for Pharo and it seems that the problem
isn't with voyage or the mongo test driver. The
DateTest>#testDuration test failed with this message 'Got 37641:18:30:00
instead of 1:00:00:00'. I'm running the latest pharo3.0 vm and image on
Ubuntu 12 x86. Anyone know what
I'm running Pharo 3.0 beta with Voyage-Mongo. When I save a DateAndTime
instance in the database, it's saved in Mongodb as the previous day. This
occurs for all dates.
This could be an issue with either the Mongo driver or Voyage-Mongo, i'm not
exactly sure which since both their tests pass.
-
Ok, thanks for the reply. I had a test fail in one external package I'm
using, I'll contact the author directly.
--
View this message in context:
http://forum.world.st/Procedure-for-reporting-bugs-in-external-libraries-tp4698443p4698459.html
Sent from the Pharo Smalltalk Users mailing list arch
Hi,
What is the procedure for reporting bugs in libraries that I download from
Smalltalkhub and Squeaksource? Should I contact the author's email directly
or is there an issue tracker for external projects?
Thanks.
--
View this message in context:
http://forum.world.st/Procedure-for-reporting
Ok, thanks for the quick reply!
--
View this message in context:
http://forum.world.st/Enforcing-uniqueness-constraints-in-Voyage-Mongo-tp4697901p4697910.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hi,
I would like to know how to set certain instance variables of my models to
be unique and also
if there is a mechanism to set other constraints(like presence of an
embedded object) in Voyage-Mongo. I searched the MongoDB docs and it says
that constraints should be implemented at the application