Mongoose Dates and Mixed objects not being saved to database

If you are working with Date or Mixed type objects in Mongoose you may notice that some objects are not always saved to the database, like they should, even if it looks like it just worked. The Dates and Mixed types in Mongoose, are not attached to Mongoose' change tracking system, which means for any changes you make to those fields, they have to be marked as changed. From the documentation on SchemaTypes: Built-in Date methods are not hooked into

» Read more

Sorting with RuleBasedCollator may stop working in Android 5.0

If you are using the RuleBasedCollator in your app, you may get NullpointerException for your collator object if you do not properly initialize its constructor with a correctly formatted rule string. In Android 5.0 and later, the constructor expects to get a rule string that has a reset character in the first rule chain. Refer to the documentation: Note: earlier versions of RuleBasedCollator up to and including Android 4.4 (KitKat) allowed the omission of the reset from the

» Read more