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 from D7 fails due to Entity Plus dependency #64

Open
laryn opened this issue Dec 12, 2023 · 3 comments
Open

Upgrade from D7 fails due to Entity Plus dependency #64

laryn opened this issue Dec 12, 2023 · 3 comments

Comments

@laryn
Copy link
Member

laryn commented Dec 12, 2023

Workaround is to enable an Entity Plus stub module on D7, or temporarily disable this module to get through the upgrade.

@argiepiano
Copy link
Contributor

This should not be happening, as Backdrop now automatically enables Entity Plus when upgrading (provided the Backdrop module is present in the upgraded site's modules folder).

I've found instances where this happened, and those were usually due to code problems; for example, having a class that extends an E+ class in a file shared by other functions that are loaded early in the upgrade process (e.g. hook_views_data()).

The only way to find out what the problem is is to step debug the upgrade process. Typically these issues can be fixed relatively easily.

@argiepiano
Copy link
Contributor

Can you post the error and line where this happened?

@argiepiano
Copy link
Contributor

OK, I took a quick look. There are a few spots where Entity Plus is needed before it's enabled in the upgrade process. Some of these could be fixed, but I agree that it's simpler to enable the stub module in the D7 site before upgrading.

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

No branches or pull requests

2 participants