core icon indicating copy to clipboard operation
core copied to clipboard

Breadcrumbs are not cleared when using browser's back button

Open dsilvam opened this issue 9 years ago • 4 comments

Go to categories portlet and start navigating to parent->children categories, and go back using the browser's back button. Breadcrumbs are not cleared

2017-07-13\_0949

dsilvam avatar Jul 13 '17 14:07 dsilvam

PR: https://github.com/dotCMS/core/pull/12130

dsilvam avatar Jul 18 '17 00:07 dsilvam

The crumbtrails work, even though there is a different issue we still have to fix with applying categories and making sure the cat-search crumbtrails work when adding content with nested categories.... but separate task (#12127), so passing this one.

DeanGonzalez avatar Jul 18 '17 22:07 DeanGonzalez

After revision of the issue I found a weird behavior.

Steps to reproduce:

  1. Create a new category: Test
  2. Go into Test and create a new Category: Test2
  3. Go into Test2 and create a new Category: Test3
  4. Use the breadcrums to go to the Top Level
  5. Click on Test, then Test2 and finally Test3
  6. Use breadcrums to go to the Top Level again
  7. Hit Back on the Browser. The breadcrums lose the reference (see image)

Expected result: The breadcrums should show: Top Level > Test > Test2 > Test3 screen shot 2017-07-18 at 2 30 19 pm

danlaguna avatar Jul 18 '17 23:07 danlaguna

Passed QA. Followed steps to reproduce with new categories and old categories. The breadcrums are not losing the reference, so issue is fixed Tested again original issue and it's working. Breadcrumbs are cleared appropriately

Tested locally using the following environments: Upgrade from dotcms_3.6 with client dataset (db and assets) to master branch / commit f49bdf82745833681f4d0a5e4a554dcd33d5f130 Ubuntu 14.04.1 / Postgres 9.3.7 / Chrome v54.0.2840.98 / Tomcat 8 / Java 8

shaydotcms avatar Jul 24 '17 14:07 shaydotcms