Record is not opening

Hi All,

We are running on SugarCRM enterprise -  7.6.1.0

We are facing issue.

In the List View of a module ,clicking a record does not open the record view instead stays in the list view.The url gets appended with the record id as it should be,

but the record view is not rendered.

In browser console,It is throwing like

Uncaught TypeError: Cannot read property 'my_favorite' of undefined at  cache/include/javascript/sugar_sidecar.min.js?v=QDz1kVEi9tOmQnr6mGeo-w on line 1909. 

This issue is fixed on repair.But comes back after a while.It is not consistent.

Please advice me on this.

  • Hello Ajay,

    Did you perform the Repair JS Files in studio admin>Repair->Repair JS Files.

  • Hello Ajay,

    I have faced this kind of issue in sugarcrm. Please replace you core files in existing sugarcrm from newly installed same sugar version. Let me know if you need more help for the same.

  • Hi Bhavesh Patel,

    Thanks for your reply.

    I will try then.

  • Hi Sidhdharth gajjar,

    Thanks for your reply.

    Can you please advise me on this little more.

    What are files to be replaced?

  • Hello ajay,

    Here are the steps which can fix your cause. But I am not sure. So You can try this at least. One more thing this can happen due to some permission issues on your server which break core file during installation or repair & rebuild and so on. many cases will be there.

    1) First of all take your production backup into your local environment.

    2) Install new SugarCRM with same version of your production.

    3) Take include, client, sidecar, and vendor folders from new installed SugarCRM which should be exact version of your production environment.

    4) Than compare files with your actual production environment. Probably sidecar, clients and core libraries. Than make repair & rebuild.

    MAKE SURE DONT DO THIS DIRECTLY ON PRODUCTION. REPLACE ONE BY ONE FOLDER AND THAN TRY. IF WITH ONE OF ABOVE FOLDER YOUR ISSUE HAS BEEN FIXED THAN NO NEED TO GO FOR OTHER FOLDER REPLACE.

  • Thanks Bhavesh and siddharth for your response.The issue came again,If we run repair & rebuild ,then it goes off.Then after sometime it comes again.If anyone faced this ,Please share your ideas here.

  • Ajay,

    When the blank page occurs, are there any JavaScript errors in the JavaScript console?  The next time this happens, right-click inside the blank area of the browser and select "Inspect Element", click on the Console tab and let us know if you see any JavaScript errors listed.

    Kind Regards,

    Lori

  • Ajay,

    My apologies, I did not notice that you posted the JavaScript error in the first post.  This issue may be related to a known defect.  What version of Sugar are you running?  I see that this defect is resolved in the 7.6.2.0 version. 

    Kind Regards,

    Lori

  • Hi Lori,

    Thanks for your response.

    I will try that you suggested and update you  on the same.

    I hope that issue will get fix permanently.