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

Remove required from condition plugin forms #1066

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

bibliophileaxe
Copy link

@bibliophileaxe bibliophileaxe commented Dec 5, 2024

Condition Plugins are optional and only enabled when required. Config forms for these plugins should not have required fields.

GitHub Issue: (link)
#1065

  • Other Relevant Links (Google Groups discussion, related pull requests,
    Release pull requests, etc.)

What does this Pull Request do?

Makes config for condition plugins optional.

  • Could this change impact execution of existing code?
    No

How should this be tested?

Install either google_tag or asset_injector.
Try saving the google tag form or the asset injector form.
These forms can't be saved without this PR

Interested parties

@Islandora/committers

Copy link
Member

@joecorall joecorall left a comment

Choose a reason for hiding this comment

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

Thank you! We're running google tag on our site and had to do some weird config export/edit/import to get around this problem. Tested this locally and it works as intended. Can now just edit the google tag settings in the UI.

Closes #1065

@joecorall joecorall merged commit 9ca6ba0 into Islandora:2.x Dec 5, 2024
27 checks passed
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.

2 participants