saleor-dashboard icon indicating copy to clipboard operation
saleor-dashboard copied to clipboard

Wrong description displayed when navigating through categories

Open jbod opened this issue 3 years ago • 2 comments

What I'm trying to achieve

I'm trying to edit the description of categories and subcategories. When I edit the description of a category and then I go to a subcategory listed on the bottom of the page (also happens when navigating from the sub to the parent), I get the description of the parent category. I have to refresh the page to get the true description of the category.

It seems that the description field is not refreshed when navigating through categories, only the first one displayed is kept and used all along.

Tested with Dashboard 3.0.0-b.17 and 3.0.0-b.20 against Saleor 3.0.0-b.28 on Chrome 95.0.4638.69.

Steps to reproduce the problem

  1. Go to a category
  2. Edit the description of the category and save it
  3. Go to a subcategory -> the description is the same as the parent one
  4. Refresh the page -> the true description of the subcategory appears
  5. Go back to the parent category using the button "<- Categories" on top of the page -> the description of the subcategory appears
  6. Refresh the page -> the true description of the parent category appears

What I expected to happen

Get the true description of the categories when navigating through them.

jbod avatar Nov 05 '21 14:11 jbod

Hi, it seems like this issue still exists in dashboard v3.4.0 and core v3.5.0. We are going to fix this issue.

szczecha avatar Jun 20 '22 07:06 szczecha