croogo/croogo — pull request #210 by damien-biasotto (2013-10-15 14:20:36+00:00)
Title: Fix - New Language added has no weight

I'm sorry I didn't take the time to add a test case to underline my fix.

Prior this fix:
But when you added a new record, the new record has no weight set.

The purpose of my fix is to set a weight to a new record.

This case happened when primaryKey field is set but empty.