-
Notifications
You must be signed in to change notification settings - Fork 117
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
Get tests passing #957
Get tests passing #957
Conversation
I figured out why it couldn't write to field_media_use ("Tags") (formerly field_tags) - the config for the form referred to the old field_tags so the field_media_use wasn't showing up. But that doesn't solve the problem that the test passes if the tag/use is left out entirely. This shouldn't be happening, because the derivative action config was set to use the Preservation Master term. 🤯 |
Regarding commit dd514a3, the checks are there firstly to remove the deprecation notices. They're all |
The former option prior to the change record was to set |
Thanks Jordan. Seth and I discussed it on Slack and he suggested leaving it at the default behaviour (but potentially opening up our code to allow a parameter telling it not to check access). I'd appreciate it if anyone can help with this last (hopefully!) test. It's failing now on php 8.1, here:
I tried my darndest with a breakpoint at the various implentations of mb_strtolower(), and clicked through it hundreds of times, but the only times i found "NULL" imply the problem is:
|
Looks like it might be related to https://www.drupal.org/project/drupal/issues/3302838 @rosiel. EDIT: Though sounds like it's more of a result of something else being flubbed, hmm. |
It turned out to be that the configs we loaded from .yml files during the IslandoraFunctionalTestBase:setUp() function were missing UUIDs (and they weren't being generated from the way we copy the YML). When adding a field, it tried to update one of those (an entity view display or form display) but the lack of UUID was causing it to fail. |
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.
@rosiel found and addressed 5+ year old bug in the test fixtures to get these to run so props to her, rest of what's here are deprecations.
GitHub Issue: #954 #887
Release pull requests, etc.)
What does this Pull Request do?
Attempt to get more tests running.
What's new?
dependencies
clause in the installed breadcrumbs setting; it was complaining that it was missing a schema for it, but it shouldn't have been there in the first place.field_tags
on a media add form, where the correct name seems to befield_media_use
(i.e. Regeneration activity, etc.)? no!
How should this be tested?
CI runs the tests... how green are they?
Documentation Status
Additional Notes:
Any additional information that you think would be helpful when reviewing this
PR.
Interested parties