Give a friendlier error when trying to delete an attribute that has children

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Normal
    • 2021-03-15
    • Affects Version/s: None
    • Component/s: Admin
    • None

      The base attribute cannot be deleted without deleting its sub attributes if present.

      Steps to reproduce:

      1. Go to /admin/attributes and pick any attribute
      2. Create two attributes, one as the base and other as the child to the first
      3. Try to delete the base attribute and you'll get the error after you agree to delete

      If the error is expected, the error should be more friendly and tell something like "Remove the sub attribute before removing the base attribute"

            Assignee:
            Nicolás Tamargo
            Reporter:
            Anirudh Jain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2021-03-15