Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.8.1
-
Component/s: None
-
Labels:None
Description
Create (individual) migrations to add a UUID field, and apply the mixin acts_as_uniquely_identifiable for key assets
Add a unit test to each to make sure that a UUID is generated when saved if missing, and this it doesn't change for a subsequent save.
Needs a rake task that iterates over all items that use acts_as_uniquely_identifiable and calls 'save' on them to force a UUID if missing. This may be made easier by calling check_uuid, and then seeing if there are any changed attributes. The update timestamp should be suppressed before doing the save.
Key assets are:
People
all Assets & Publications
ISA objects
Projects, Institutions
