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

Filtering out reference properties from RDF output #317

Merged
merged 1 commit into from Apr 24, 2014

Conversation

escowles
Copy link
Contributor

  • filtering out reference properties from RDF output
  • providing at least some error message for 412 Precondition Failed errors

Fixes https://www.pivotaltracker.com/story/show/69965804

…t some error message for 412 Precondition Failed errors
@escowles escowles mentioned this pull request Apr 24, 2014
@@ -242,7 +242,7 @@ protected static void evaluateRequestPreconditions(final Request request,
request.evaluatePreconditions(roundedDate, etag);

if (builder != null) {
throw new WebApplicationException(builder.build());
throw new WebApplicationException(builder.entity("ETag mismatch").build());
Copy link
Contributor

Choose a reason for hiding this comment

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

It could also be a date mismatch too, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like: I'll going to file a separate ticket about potentially misleading messages after the merge.

barmintor added a commit that referenced this pull request Apr 24, 2014
Filtering out reference properties from RDF output
@barmintor barmintor merged commit ebb08c8 into master Apr 24, 2014
@cbeer cbeer deleted the filter-reference-props branch October 17, 2014 00:26
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