Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product Browser not working after refresh and category/product was selected #110

Open
geertsmichael opened this issue Mar 30, 2020 · 1 comment

Comments

@geertsmichael
Copy link

geertsmichael commented Mar 30, 2020

Expected Behaviour

After refreshing the product browser when a category or product was selected, results in a broken product Browser. I am expecting to stil see all catalogs and the parent categories.

Actual Behaviour

After refreshing the product browser when a category or product was selected, results in a broken product Browser.I want to provide a link to a category or product, which will not render the catalogs anymore.
Instead the selected category or products becomes the root of the Product Browser and I cannot switch to another catalog anymore.

Steps to Reproduce

  1. Open http://localhost:4502/libs/commerce/gui/content/products.html/var/commerce/products
  2. Select a Catalog, a category and then a sub-category. This still works fine
  3. Now refresh the Product browser or use the url in the address bar and open it in a new tab
  4. Now the catalogs and categories are gone, and I only see the product. On top I also get an error message in the 'left pane'

Platform and Version

AEM 6.4.5 & CIF 0.9.0
(On CIF 0.8.0 we don't have this issue)

Sample Code that illustrates the problem

Schermafbeelding 2020-03-30 om 11 35 51

@cjelger
Copy link
Contributor

cjelger commented Mar 31, 2020

You should rather check the logs of your AEM instance and check any error message to find out why the loading of the categories has failed. But this is probably not a bug related to the scenario you describe, this works perfectly fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants