Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2812

Removing an attribute used by a product type makes the admin unusable

    XMLWordPrintable

Details

    • Ibexa Commerce, Ibexa Experience

    Description

      Steps to reproduce:

      • Clean install of experience
      • Create an attribute group
      • Create an attribute inside this attribute group with identifier `test1`
      • Create a product type and add this `test1` attribute to it
      • Go back to attribute list
      • Try to remove this `test1` attribute

       

      Error appears saying

      An exception has been thrown during the rendering of a template ("Could not find 'Ibexa\ProductCatalog\Local\Persistence\Values\AttributeDefinition' with identifier 'test1'").

      admin becomes just unsable. you can see same error in `/admin` for instance.

      Error only goes away if you manually remove caches with `php bin/console cache:clear`, so looks cache issue to me.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              carlos.revillo-obsolete@ibexa.co Carlos Revillo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: