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
Fix ETag handling for Binaries and Binary descriptions #1024
Conversation
Read PATCH requests as UTF-8 encoded input streams
To be clear, this current PR bases the:
A brief rationale would be helpful here. |
@awoods I agree a rationale would be helpful here. Would you like that as an inline comment or written here in the github comments? In brief, though, it follows from the principle of the binary being the subject of the triples in the description. |
@awoods as a side note, this is exactly why we need a specification. It is impossible to fix incorrect behavior if there is no clear document describing what correct behavior is. |
Maybe an inline comment would help folks who look at the code in the future understand what is going on. |
FCREPO-1989: Minor cleanup of compiler warnings
Six kinds of amen. On Monday, April 18, 2016, Aaron Coburn notifications@github.com wrote:
|
To be clear, my comment was in support of @acoburn's remark about specification. |
Use Guava utilities for dynamic proxies Resolves: https://jira.duraspace.org/browse/FCREPO-1961
@acoburn: I pulled your fix into my fork, compiled, and tested in the web UI again the case I documented in FCREPO-1983. That problem appears to be fixed. |
@sprater thanks for checking! I would like to add some additional integration tests before this is actually merged. If that happens next week (before the 4.5.1 release), I'll close this PR and re-target it at the |
@acoburn sounds good. I'll wait for the merge when it occurs, then test again, just to make sure. |
* Remove JCR details from Tombstone Resolves: https://jira.duraspace.org/browse/FCREPO-1997 * code review response
Superseded by #1028 |
Resolves: https://jira.duraspace.org/browse/FCREPO-1983
Resolves: https://jira.duraspace.org/browse/FCREPO-1754
This is an alternate resolution of this issue. See #1022 for a different approach.
The advantage of this PR (from my perspective) is that ETag and last-mod values on the fedora:Binary and associated description are decoupled.
Note: this PR also addresses the Strong/Weak ETag issue: Binaries produce strong ETags, everything else produces a weak ETag. So it also supersedes #991
See: http://irclogs.fcrepo.org/2016-04-18.html for further discussion of this.
Based on discussion, this approach is to be pursued instead of #1022