Skip to content

Backport changes from AdminBundle to CategoryAdminController#820

Merged
jordisala1991 merged 1 commit intosonata-project:4.xfrom
core23:fix-controller
Feb 10, 2022
Merged

Backport changes from AdminBundle to CategoryAdminController#820
jordisala1991 merged 1 commit intosonata-project:4.xfrom
core23:fix-controller

Conversation

@core23
Copy link
Copy Markdown
Member

@core23 core23 commented Feb 7, 2022

Subject

There was a template error, because the export_formats variable does not exist.

I am targeting this branch, because this is a bugfix.

Changelog

### Fixed
- Backport changes from AdminBundle to `CategoryAdminController`

@core23 core23 added the bug label Feb 7, 2022
@core23 core23 requested a review from a team February 7, 2022 20:23
Copy link
Copy Markdown
Member

@VincentLanglet VincentLanglet left a comment

Choose a reason for hiding this comment

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

Can we add a functional test to detect this bug ?

Asserting a 200 on the page should be enough in https://github.com/sonata-project/SonataClassificationBundle/blob/4.x/tests/App/Action/CartegoryAdminTest.php#L24 ?

And we could rename the file CategoryAdminTest instead of cartegory

@core23 core23 force-pushed the fix-controller branch 3 times, most recently from 1ac7b0a to efee722 Compare February 8, 2022 16:04
Copy link
Copy Markdown
Member

@VincentLanglet VincentLanglet left a comment

Choose a reason for hiding this comment

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

Seems like there is something wrong in the filter of the list url

@core23
Copy link
Copy Markdown
Member Author

core23 commented Feb 8, 2022

Seems like there is something wrong in the filter of the list url

Fixed

@VincentLanglet
Copy link
Copy Markdown
Member

If you can review @jordisala1991 I'll merge this and create a patch release.

@core23 core23 requested a review from a team February 10, 2022 06:59
@jordisala1991 jordisala1991 merged commit b203ca9 into sonata-project:4.x Feb 10, 2022
@jordisala1991
Copy link
Copy Markdown
Member

Thanks

@core23 core23 deleted the fix-controller branch February 10, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants