• Welcome to KonaKart Community Forum. Please login or sign up.
 

Wrong bread crumps

Started by nclemeur, December 20, 2007, 07:50:19 am

Previous topic - Next topic

nclemeur

Hello,

It seems that the bread crumps is wrongly generated when you follow this sequence of events:

- Select a category
- Select a product to display details about this product
- Use the back button to go back to the list of products
- Click any header to sort the product lists

This results in product name to be displayed in the bread crumps.

This can be reproduced in the demo application

ryan

Oh crumbs  :)

This one is a bit tricky to fix because we keep the breadcrumbs of the last state which was the product details state. By using the back button, the state doesn't actually change since it doesn't perform the action. Then when you do a sort it also doesn't change the state and so automatically uses the last one which is the product details state. By the way, if you want to experiment yourself and modify the breadcrumbs for the sort, you can do it by editing SortProductAction.java.