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

Serialize incoming RDF properties to JCR Strings #623

Merged
merged 1 commit into from Nov 6, 2014
Merged

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Nov 6, 2014

if (type == UNDEFINED
|| type == STRING
|| (data.isResource() && type != URI && type != REFERENCE && type != WEAKREFERENCE)) {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could make a Set of the types we don't want to engage and a clearer test.

@awoods
Copy link

awoods commented Nov 6, 2014

If we are not storing values as JCR types, is the translation from JCR types to RDF types found in ValueConverter.doForward() any longer necessary?
https://github.com/fcrepo4/fcrepo4/blob/jcr-string-values/fcrepo-kernel-impl/src/main/java/org/fcrepo/kernel/impl/rdf/converters/ValueConverter.java#L80

awoods pushed a commit that referenced this pull request Nov 6, 2014
Serialize incoming RDF properties to JCR Strings
@awoods awoods merged commit e60cb84 into master Nov 6, 2014
@awoods awoods deleted the jcr-string-values branch November 6, 2014 23:28
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

Successfully merging this pull request may close these issues.

None yet

3 participants