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

Edit many script error without subclass gives an exception #6223

Conversation

nieuwenhuisen
Copy link
Contributor

@nieuwenhuisen nieuwenhuisen commented Jul 23, 2020

Edit many script error without subclass givens an exception

Exception:
An exception has been thrown during the rendering of a template ("Admin "..." has no active subclass.").

This exception is thrown after adding a ModelType field the the admin.

I am targeting this branch, because "The error is introduced in master, but a deprecation is introduce in 3.x.".

Changelog

### Fixed
- Admin has no active subclass exception in *edit_many_script.html.twig* after adding a ModelType field.

@VincentLanglet
Copy link
Member

You can target 3.x.

The error is introduced in master, but a deprecation is introduce in 3.x.
This will fix the deprecation ;), then we'll merge it in master.

@nieuwenhuisen nieuwenhuisen force-pushed the edit_many_script_error_without_subclass branch from a71f5ba to 0847c68 Compare July 23, 2020 15:55
@nieuwenhuisen nieuwenhuisen changed the base branch from master to 3.x July 23, 2020 15:55
@nieuwenhuisen nieuwenhuisen changed the title Edit many script error without subclass givens an exception Edit many script error without subclass gives an exception Jul 23, 2020
@core23 core23 added the patch label Jul 23, 2020
@jordisala1991 jordisala1991 merged commit 1fd65e3 into sonata-project:3.x Jul 23, 2020
@jordisala1991
Copy link
Member

Thank you @nieuwenhuisen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants