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

When URI has nested nodes the id is wrong #7

Closed
jcoyne opened this issue May 13, 2015 · 0 comments
Closed

When URI has nested nodes the id is wrong #7

jcoyne opened this issue May 13, 2015 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented May 13, 2015

Currently:

uri = http://localhost:8983/fedora/rest/test/hh/63/vz/22/hh63vz22q/members"
p ActiveFedora::Base.uri_to_id(uri)
"members"

it should be

"hh63vz22q/members"
@jcoyne jcoyne closed this as completed in c1251e9 May 13, 2015
tpendragon pushed a commit that referenced this issue May 13, 2015
translate_uri_to_id should handle deeper paths. Fixes #7
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