-
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
Drupal 10 readiness #69
Conversation
Co-authored-by: Adam <[email protected]>
Currently stymied by the pdf module, which doesn't have a D10 release though a patch generated by Rector is RTBC several times over, and folks are clamoring for it to get merged. The pdf module is installed in all our workflow testing environments by islandora_ci. |
I've got it running on a Drupal 10 site. @whikloj I'm trying to test but not 100% sure if this is what I'm supposed to do: I installed restUI and got this error: |
@rosiel that is probably because we don't have return types defined and that (in PHP 8) means we are not correctly You probably want to check the other methods we are overriding to ensure our signatures match the base class. |
OK, I updated three files based on running into errors, and now I can load the jsonld version of a node. CI will still fail because of pdf, though. |
Installing this on Drupal 9 fails:
Does this mean that because the core serializer class' signature has changed, therefore we need a new branch for D10? |
I guess this will have to be a new branch with a new major version. |
I've altered the target branch, changed the workflows (they'll still fail due to pdf), and added a note in the README. For linking purposes, this addresses part of Islandora/documentation#2235. |
Since Islandora/islandora_ci#18 was merged, I updated the tests so they don't point to my patch branch of the Islandora CI repo. |
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.
Works for me and PHPUnit shows no new warnings.
GitHub Issue: #63 , supercedes PR #66
Release pull requests, etc.)
What does this Pull Request do?
Tells Drupal the jsonld module is compatible with Drupal 10 (
and also Drupal 9).This assertion still needs to be proven, hence this PR is in draft.Turned out it is impossible to be D9 and D10 compatible simultaneously, so this now proposes a 3.x branch to accommodate Drupal 10.What's new?
How should this be tested?
Install the module in Drupal 10 (
and in D9) and set up an RDF mapping to jsonld and expose it at an endpoint. Does it work? Any messages in the watchdog logs?Additional Notes:
Any additional information that you think would be helpful when reviewing this
PR.
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora/committers