mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Error in Browsers console after adding tabs to Quickcreate #4643
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#4643
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SinergiaCRM on GitHub (Nov 4, 2021).
Originally assigned to: @lukio on GitHub.
After setting a tab configuration in a quickcreate view of a module, it appears an error in the browser Console:

Issue
There is some errors regarding the use of tabs in a quickcreate view.
This error may cause other JS scripts to not execute.
Expected Behavior
There shouldn't be any error.
Actual Behavior
Error appears in console
Possible Fix
Steps to Reproduce
Context
Your Environment
SuiteCRM Version used: 7.11.21
Browser name and version: Chrome
Environment name and version (e.g. MySQL, PHP 7): PHP 7
Operating System and version (e.g Ubuntu 16.04): Ubuntu
@lukio commented on GitHub (Nov 3, 2022):
The problem remains at 8.x suitecrm when working with legacy layout.
@lukio commented on GitHub (Nov 3, 2022):
Duplicated ticket https://github.com/salesagility/SuiteCRM/issues/8780
@lukio commented on GitHub (Nov 3, 2022):
@SinergiaCRM I found that the name of the function
selectTabOnErrorhas been declared twice at the theme.If I change the definition of the function from
lettovarit does not throws the error on the javascript console.@SinergiaCRM commented on GitHub (Nov 3, 2022):
Thanks @lukio. This sounds interesting. This error has been here for a while already. We will try it out.
If you are certain, you could open a PR with the proposed fix.
@lukio commented on GitHub (Nov 10, 2022):
@SinergiaCRM I opened a new PR with the propoosed fix.
https://github.com/salesagility/SuiteCRM/pull/9813
@SinergiaCRM commented on GitHub (Mar 20, 2023):
Hi @lukio it seems that the problem persists in the latest version. Could it be due to something else?

@SinergiaCRM commented on GitHub (Oct 23, 2023):
@jack7anderson7 , I reopened this issue again. The error continues to occur with the change in the definition of the function

selectTabOnErrorfromlettovar.