Infinite Loading on Leads, Contacts and Users Module.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitb
    Junior Member
    • Dec 2019
    • 2

    Infinite Loading on Leads, Contacts and Users Module.

    I love this wonderful product. But I am facing some problems. Modules - Leads, Contacts, and Users have been stopped working. Not able to view, create and edit Lead, Contact and any user.
    There is infinite "Loading". Sometimes these modules start working and sometimes not. Currently when I am posting this message. All 3 modules are not working...I have checked all the permissions, Cleared Cache etc. But no resolution.

    Kindly help
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    please open F12 dev tools and check a console tab. Is there any error? If so, please provide a screenshot with it.
    Did you make some code customization? Often the wrong code syntax may cause such issue.

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1405

      #3
      Did you find anything in espo logs? check /public_html/data/logs

      Comment

      • amitb
        Junior Member
        • Dec 2019
        • 2

        #4
        Hello..Thanks a lot for the quick reply. Below is the screenshot. I have not made any changes to code. I have only created some custom entities using entity manager.
        Click image for larger version

Name:	console-error.png
Views:	405
Size:	34.5 KB
ID:	54162

        Comment

        • Maximus
          Senior Member
          • Nov 2018
          • 2731

          #5
          Please, check whether this file exists client/modules/crm/src/views/lead/fields/created-contact.js. If yes, is it has the same code w/o any changes?
          Code:
            
          Espo.define('crm:views/lead/fields/created-contact', 'views/fields/link', function (Dep) {      
              return Dep.extend({          
                  getSelectFilters: function () {            
                      if (this.model.get('createdAccountId')) {                
                          return {                    
                              'account': {                        
                                  type: 'equals',                        
                                  attribute: 'accountId',                        
                                  value: this.model.get('createdAccountId'),                        
                                  data: {                            
                                      type: 'is',                            
                                      nameValue: this.model.get('createdAccountName')                        
                                  }                    
                              }                
                          };            
                      }        
                  },    
              });
          });
          Last edited by Maximus; 12-12-2019, 02:51 PM.

          Comment

          Working...