We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What steps does it take to reproduce the issue?
Add a context condition that gets triggered on Node has Parent.
In Field that contains reference to parents select field_member_of
Field that contains reference to parents
Create a new content type.
Add a content reference field with some other field name than field_member_of (field_node_reference, for example)
Add new content of this type.
Make sure the content reference field has a value.
This results in a WSOD.
What happens? WSOD
What did you expect to happen? The content gets created
Which version of Islandora are you using? 2.0
Fix
islandora/src/Plugin/Condition/NodeHasParent.php
Line 141 in 3902cce
Should check whether field exists.
Another small win:
islandora/src/IslandoraContextManager.php
Line 40 in 3902cce
Disabled check should happen before the evaluation of context conditions.
Screenshots:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What steps does it take to reproduce the issue?
Add a context condition that gets triggered on Node has Parent.
In
Field that contains reference to parents
select field_member_ofCreate a new content type.
Add a content reference field with some other field name than field_member_of (field_node_reference, for example)
Add new content of this type.
Make sure the content reference field has a value.
This results in a WSOD.
What happens?
WSOD
What did you expect to happen?
The content gets created
Which version of Islandora are you using?
2.0
Fix
islandora/src/Plugin/Condition/NodeHasParent.php
Line 141 in 3902cce
Should check whether field exists.
Another small win:
islandora/src/IslandoraContextManager.php
Line 40 in 3902cce
Disabled check should happen before the evaluation of context conditions.
Screenshots:
The text was updated successfully, but these errors were encountered: