core icon indicating copy to clipboard operation
core copied to clipboard

Browser console errors when loading Content Types portlet

Open shaydotcms opened this issue 10 years ago • 3 comments

Browser is throwing console errors when loading Content Types portlet. In addition once you access the portlet, you are unable to click on it again in order to reload it.

Expected Behavior

Content Types portlet should load with a clean console. In addition, as in previous dotcms releases, you should be able to click the Content Type portlet as many times as you want to reload the content.

Current Behavior

Browser is throwing console errors when loading Content Types portlet. In addition, once you access the Content Type portlet, you are unable to click on it again in order to reload.

Known Workarounds

Reload the Content Type portlet page by hitting Refresh button in the browser

Steps to Reproduce (for bugs)

1- Login to dotcms 2- Open the browser console (Inspect Element) to see the logs 3- Navigate to Content Type portlet 4- Click again the Content Type portlet to reload it 5- You will see an error in the browser console

Chrome error image

Firefox error image

Your Environment

  • dotCMS version used: Latest master_3.8
  • Database and version: Postgres 9.3.5
  • Operating System and version: Ubuntu 14.04.1
  • Browser Name and version: Firefox v45.0.1 & Chrome v54.0.2840.98
  • Application Server and version: Tomcat 8
  • Java Brand and version: Java 8

shaydotcms avatar Dec 02 '16 18:12 shaydotcms

I don't see this error with the latest code in master-3.8. But I know that new layout are currently changing so I would like to test this one before the iteration ends.

oarrietadotcms avatar Dec 06 '16 18:12 oarrietadotcms

Error is not showing any more in the browser console, however second issue still happens: once you click on Content Types portlet, you cannot reload it by clicking again on it, you will need to navigate away and come back in order to reload it. This was not happening in 3.7 reload content type portlet

shaydotcms avatar Dec 12 '16 16:12 shaydotcms

Duplicate of https://github.com/dotCMS/core/issues/10382

erickgonzalez avatar Jan 13 '17 15:01 erickgonzalez