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

Upgrade path #110

Merged
merged 4 commits into from Mar 14, 2018
Merged

Upgrade path #110

merged 4 commits into from Mar 14, 2018

Conversation

agentrickard
Copy link
Owner

Some smoother handling of upgrades, based on recent error reports.

]);
$scheme->save();
}

\Drupal::state()->set('workbench_access_upgraded_scheme_id', 'default');
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should go inside the else above it, otherwise the legacy views stuff will kick in and try to load a non-existent scheme

Copy link
Owner Author

Choose a reason for hiding this comment

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

I accounted for that in the change to workbench_access_views_data_alter() above, which only fires if the default scheme is set.

I think this comment might be on an outdated commit.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yes, I moved it in a later commit.

@agentrickard agentrickard mentioned this pull request Mar 12, 2018
@agentrickard agentrickard merged commit ec260e8 into 8.x-1.x Mar 14, 2018
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.

None yet

2 participants