collectionspace/services — pull request #95 by aronr (2013-03-09 01:34:03+00:00)
Title: CSPACE-5845: Store collectionspace_core:refName values with imported records.

CSPACE-5845: First minor changes toward storing collectionspace_core:refName values with imported records.

CSPACE-5845: Created initial (failing) test of refName value in collectionspace_core.

CSPACE-5845: Placeholder method added for inserting refName values into collectionspace_core on import.

CSPACE-5845: Plain old id-style refNames now generated by Imports service and added to collectionspace_core:refName.

CSPACE-5845: Added (as yet untested) code to insert a provided refName, if any, into collectionspace_core:refName, and to add a display name to the ID form of refNames if the relevant service supports hierarchy.

CSPACE-5845: Generation of display name for refNames for record types with hierarchy is now working, with its own unit test.

CSPACE-5845: Add null checks. Add tests for extracting refName value from an authority record and adding that value to collectionspace_core:refName.

CSPACE-5845: Remove currently-irrelevant comments.

CSPACE-5845: Removed call in (partially-implemented) service test class that was triggering dependency-related issues.

CSPACE-5845: Added code (untested) to generate short identifier-based refNames for authority records, and to skip generating refNames for authority item records (rather than defaulting to giving them id-based refNames).

CSPACE-5845: Added test for generated authority record refName.