sakaiproject/nakamura — pull request #654 by zathomas (2012-03-12 05:54:00+00:00)
Title: fix for KERN-2641

Some pubspace dashboards were failing during migration because the migrator didn't expect to find a `_ref` property equal to empty string.

The migrator would have been failing on any sakai doc or pubspace/privspace with an empty `_ref`.

I added tolerance for this, more unit tests, better factoring, and I now throw a `RuntimeException` if the migrator fails instead of just a quiet ERROR log message.