home page - click on settings for any dashlet raises a javascript error (newTop is undefined) #5127

Open
opened 2026-02-20 16:30:06 -05:00 by deekerman · 8 comments
Owner

Originally created by @vaudoin on GitHub (Nov 9, 2023).

Issue

Any dashlet settings (pencil icon click) raises a javascript error :

MySugar.js?v=ntzW5V2lbS4kqSepbRTxlw:49 Uncaught ReferenceError: newTop is not defined
    at Object.fillInConfigureDiv (MySugar.js?v=ntzW5V2lbS4kqSepbRTxlw:49:481)
    at Object.handleTransactionResponse (sugar_grp1_yui.js?v=ntzW5V2lbS4kqSepbRTxlw:31:4422)
    at sugar_grp1_yui.js?v=ntzW5V2lbS4kqSepbRTxlw:31:3935

Expected Behavior

No js error.

Possible Fix

Steps to Reproduce

  1. Open home page
  2. Open browser inspect dev tool and click on 'Console' to view the js errors
  3. Click on settings icon of a dashlet
  4. Error described appears

Context

No real impact. Just found it.

Your Environment

  • SuiteCRM Version used: found on 7.13.9 and on 7.14.1 as well
  • Browser name and version: Tested on Chrome 119 and Firefox 119
Originally created by @vaudoin on GitHub (Nov 9, 2023). #### Issue Any dashlet settings (pencil icon click) raises a javascript error : ``` MySugar.js?v=ntzW5V2lbS4kqSepbRTxlw:49 Uncaught ReferenceError: newTop is not defined at Object.fillInConfigureDiv (MySugar.js?v=ntzW5V2lbS4kqSepbRTxlw:49:481) at Object.handleTransactionResponse (sugar_grp1_yui.js?v=ntzW5V2lbS4kqSepbRTxlw:31:4422) at sugar_grp1_yui.js?v=ntzW5V2lbS4kqSepbRTxlw:31:3935 ``` #### Expected Behavior No js error. #### Possible Fix <!--- Not obligatory, but suggest a fix or reason for the bug --> #### Steps to Reproduce 1. Open home page 2. Open browser inspect dev tool and click on 'Console' to view the js errors 3. Click on settings icon of a dashlet 4. Error described appears #### Context No real impact. Just found it. #### Your Environment * SuiteCRM Version used: found on 7.13.9 and on 7.14.1 as well * Browser name and version: Tested on Chrome 119 and Firefox 119
Author
Owner

@chris001 commented on GitHub (Nov 9, 2023):

Confirmed in 7.14.1.

@chris001 commented on GitHub (Nov 9, 2023): Confirmed in 7.14.1.
Author
Owner

@shubham-pawar commented on GitHub (Nov 15, 2023):

Please update your browser version.

https://docs.suitecrm.com/admin/compatibility-matrix/

@shubham-pawar commented on GitHub (Nov 15, 2023): Please update your browser version. https://docs.suitecrm.com/admin/compatibility-matrix/
Author
Owner

@vaudoin commented on GitHub (Nov 21, 2023):

@shubham-pawar notice that I did not remove the sample version on the issue template (e.g. Chrome Version 51.0.2704.63 (64-bit)) but IS NOT my browsers version.
Tested on Chrome 119 and Firefox 119. And still an issue. I updated my initial issue.

@vaudoin commented on GitHub (Nov 21, 2023): @shubham-pawar notice that I did not remove the sample version on the issue template (e.g. Chrome Version 51.0.2704.63 (64-bit)) but IS NOT my browsers version. Tested on Chrome 119 and Firefox 119. And still an issue. I updated my initial issue.
Author
Owner

@shubham-pawar commented on GitHub (Nov 21, 2023):

You're correct. When I click on pencil icon on dashlet to edit. I am getting same error.

Uncaught ReferenceError: newTop is not defined
at Object.fillInConfigureDiv (MySugar.js?v=6WY0eIRvQx-xSuYs2iwxMg:49:481)
at Object.handleTransactionResponse (sugar_grp1_yui.js?v=6WY0eIRvQx-xSuYs2iwxMg:31:4422)
at sugar_grp1_yui.js?v=6WY0eIRvQx-xSuYs2iwxMg:31:3935

Even got error pop-on on the screen.

image

@shubham-pawar commented on GitHub (Nov 21, 2023): You're correct. When I click on pencil icon on dashlet to edit. I am getting same error. > Uncaught ReferenceError: newTop is not defined at Object.fillInConfigureDiv (MySugar.js?v=6WY0eIRvQx-xSuYs2iwxMg:49:481) at Object.handleTransactionResponse (sugar_grp1_yui.js?v=6WY0eIRvQx-xSuYs2iwxMg:31:4422) at sugar_grp1_yui.js?v=6WY0eIRvQx-xSuYs2iwxMg:31:3935 Even got error pop-on on the screen. ![image](https://github.com/salesagility/SuiteCRM/assets/20646852/d8fcc20e-4a51-487d-8c8c-59d923923ae8)
Author
Owner

@SuiteBot commented on GitHub (Jan 12, 2024):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/getting-some-error-when-i-try-to-add-dashlets/91504/3

@SuiteBot commented on GitHub (Jan 12, 2024): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/getting-some-error-when-i-try-to-add-dashlets/91504/3
Author
Owner

@SuiteBot commented on GitHub (Feb 23, 2024):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/getting-some-error-when-i-try-to-add-dashlets/91504/15

@SuiteBot commented on GitHub (Feb 23, 2024): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/getting-some-error-when-i-try-to-add-dashlets/91504/15
Author
Owner

@SuiteBot commented on GitHub (Mar 27, 2024):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/failing-to-create-new-dashlets/92313/3

@SuiteBot commented on GitHub (Mar 27, 2024): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/failing-to-create-new-dashlets/92313/3
Author
Owner

@shubham-pawar commented on GitHub (Apr 5, 2024):

We have this error in the SuiteCRM 8.6 too.

https://suite8demo.suiteondemand.com/#/Login

@shubham-pawar commented on GitHub (Apr 5, 2024): We have this error in the SuiteCRM 8.6 too. https://suite8demo.suiteondemand.com/#/Login
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5127
No description provided.