Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues re services in RIF-CS #60

Open
grantj-re3 opened this issue Feb 17, 2014 · 2 comments
Open

Issues re services in RIF-CS #60

grantj-re3 opened this issue Feb 17, 2014 · 2 comments

Comments

@grantj-re3
Copy link

ReDBox-Mint 1.6.1

A) Problem with reverse relationship shown in Mint

I don't know if this is a Mint or ReDBox issue, but the RIF-CS for a service record always seems to show the relationship to the collection as "hasAssociationWith". I think it should show the reverse relationship of that selected in the ReDBox Related Services in the Description tab.

B) Problem with a collection record's representation of a service in RIF-CS

If I link to a service record (using Related Services in the Description tab on the main workflow) the resulting RIF-CS has three components regarding the service as follows. (Note that I have modified Mint home/harvest/Services.json to use the handle transformer for curation.)

a) a "related-object" where the object's key is a handle [good]

b) a "related-object" where the object's key is a local ID (ie. redboxmint_flinders_edu_au/services/3) [bad for me because 1) I do not want to show the local ID externally, only the handle; 2) this is a repeat of item-a (but I did not check to see how RDA interprets it)]

c) "related-info" with the text description of the service and URI of the local ID (ie. redboxmint_flinders_edu_au/services/3) [bad for me because 1) this element is interpreted by RDA as another service (although it is the same service as item-a); 2) this ID is not a URI but RDA tries to interpret it as one which results in an invalid hyperlink]

Hence I removed these 2 lines from my config (hopefully without other side-effects):

https://github.com/redbox-mint/redbox/blob/redbox-1.6.1/config/src/main/config/home/templates/rif.vm#L333-334

This means that the following code fragment allows services to be shown in a similar (RIF-CS) manner as person and local-project records:

https://github.com/redbox-mint/redbox/blob/redbox-1.6.1/config/src/main/config/home/templates/rif.vm#L234-256

@grantj-re3
Copy link
Author

Regarding item A above, I have found some old examples at RDA demo of showing lack of inverse linking via Related Objects.

@ghost
Copy link

ghost commented Jul 19, 2016

Thanks Grant.
I'll ensure we refer to these for testing against rifcs161.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant