Gem Release: ActiveFedora 1.2.3 -- isPartOf instead of hasCollectionMember

15 views
Skip to first unread message

Matthew Zumwalt

unread,
Oct 18, 2010, 1:42:42 AM10/18/10
to hydra...@googlegroups.com, active...@googlegroups.com
Hi ActiveFedora and Hydra users.

I've released a new version of the active-fedora gem and updated the master branch of Hydrangea to require it.

The primary change: As specified by HYDRA-70 & HYDRA-71relaltionships between objects and other files you upload into them are now represented using isPartOf relationships in the File Asset's RELS-EXT datastream.  This replaces the original implementation which used a hasCollectionMember relationship pointing from the container object to each of its uploaded files.

ActiveFedora::Base provides some convenience methods for working with these relationships and retrieving objects based on those relationships.  For more info on these convenience methods, see the rdocs: http://rdoc.info/github/mediashelf/active_fedora/master/ActiveFedora/Base#file_objects-instance_method


Complete change notes for active-fedora 1.2.3:

Major: Switched flow of relationship assertions for file objects. Now children assert isPartOf rather than parents asserting hasCollectionMember (see HYDRA-70 and HYDRA-71)

New class method: ActiveFedora::Base#has_bidirectional_relationship creates relationship finder methods that search across bidirectional relationships (ie. finds all of the object's hasPart assertions as well as any objects pointing at it with isPartOf)

Feature: Fedora::Connection now returns the Fedora error in any ServerError messages

Documentation: Added RDoc code comments for experimental features from version 1.2

Bug: MetadataDatastream.update_indexed_attributes doesn't get tripped up by attribute names wrapped in arrays (previously wrapping the symbol in an array would cause an error

Bug: Applied some fixes to usage of URIs in SemanticNode




Matt Zumwalt
MediaShelf, LLC




Reply all
Reply to author
Forward
0 new messages