-
Notifications
You must be signed in to change notification settings - Fork 118
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
Renames entity_bundle
to islandora_entity_bundle
to avoid name collision
#772
Conversation
entity_bundle
to islandora_entity_bundle
to avoid name collision
@kayakr Can you confirm this still works for you? @Islandora/8-x-committers Anyone want to attempt running this update hook to make sure we're good? |
Ok, that last commit should make travis happy |
🎉 Travis is happy! |
@dannylamb I realise the branch I built the original patch in (#771) had a commit that's already been applied to 8.x-1.x (for derivative term), so I removed that. Now the patch applied and fixes the issue. The db update hook fails.
Should this be Do we still need a matching patch for the context definition in islandora_defaults. |
Yes, we will need a matching Not sure what's up with that service not being present tho. I was testing in pieces so let me try again from a fresh box and see what's up. |
Gah, it should be |
|
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.
Thanks @dannylamb, working for me.
Testing |
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.
Alright this does not cause a WSOD for me with any context reaction, but it does block the use of pathauto as described and it is the right choice for naming.
JIRA Ticket: Islandora/documentation#1470
Supersedes #771
What does this Pull Request do?
Changes the plugin_id for the entity_bundle Condition to islandora_entity_bundle to avoid a name collision with ctools entity_bundle plugin.
It also has an update hook to update any contexts that may be using the
entity_bundle
condition.When this patch is applied, it should be possible to install pathauto and ctools and generate url aliases for taxonomy terms in the corporate_body vocabulary.
How should this be tested?
/agent/[term:name]
. Observe "The website encountered an unexpected error. Please try again later." or "Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity_bundle:taxonomy_term" plugin does not exist." errors.admin/structure/context
and get a whitescreendrush updatedb
from the command line.admin/structure/context
. You should not whitescreenInterested parties
@Islandora/8-x-committers