-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add configuration form to remove ?_format=jsonld from @ids #33
Conversation
@dannylamb You are missing the |
But it is there... I must be missing something subtle here. |
@dannylamb do the tests pass if you run them locally? |
Nope, they don't run locally. I added the schema file as a precaution because I know it's finicky about this sort of stuff 😢 I just can't figure out what I'm doing wrong. They do run just fine if I give it a little protected static $configSchemaCheckerExclusions = [
'jsonld.settings',
]; but that feels like cheating. |
@dannylamb I'll try to pull this into my claw-playbook and see if I can help |
@whikloj pfft.... it's |
Updating installer accordingly... |
aaaaaand done. Now we're properly using boolean when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anything need doing before I click merge?
I don't think so.
…On Mon., May 20, 2019, 16:41 Seth Shaw, ***@***.***> wrote:
***@***.**** approved this pull request.
[image: ]
Anything need doing before I click merge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVZVYNUFWBIAE5472HJKTDPWMEIFANCNFSM4HNDIYKQ>
.
|
GitHub Issue: Islandora/documentation#887
Supersedes #32
What does this Pull Request do?
This is the same code as #32 but on the Foundation's repo so that it can be tested with claw-playbook.
Makes a configuration choice of whether the URIs output by the Drupal normalizer contain the
_format=jsonld
parameter or not.I also added a check in the
getEntityUrl()
for file types, they don't have a canonical link template but for nowurl()
generates a good url.What's new?
Added a setting form with a checkbox.
Does this change require documentation to be updated? included
Does this change add any new dependencies? no
Does this change require any other modifications to be made to the repository
(ie. Regeneration activity, etc.)? no
Could this change impact execution of existing code? yes, toggling the checkbox could affect how items are serialized out to Fedora/Milliner/Triplestores/Solr.
How should this be tested?
http://localhost:8000/node/3
)@id
s have?_format=jsonld
on the end@id
s no longer have ?_format=jsonld on the end.Interested parties
@Islandora-CLAW/committers