Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Admin: Simple product show route generates a twig error #11386

@Hraph

Description

@Hraph

Sylius version affected: 1.7.0

Description
In Admin area: A simple product (unique variant) which has no channel activated generates a twig error in the route “sylius_admin_product_show”. The view expects to have an array of channels in @AdminBundle/Product/Show/_pricing.html.twig

Steps to reproduce

  • Create a simple product and disable all channels
  • Goto admin product show route

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdminAdminBundle related issues and PRs.BugConfirmed bugs or bugfixes.Good First IssueBugs and feature proposals, which are relatively simple to implement for newcomers.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions