Certain user not able to view detail page of record

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deepsinghal29@gmail.com
    Junior Member
    • Jan 2024
    • 26

    Certain user not able to view detail page of record

    Only a set of user cannot view the detail page of an object. They can view the list page. On clicking the link of the reocrd on list page, following gets printed on the console. No concreated logs in data/logs
    -

    espo-main.js:62674 Uncaught (in promise) TypeError: Cannot destructure property 'optionsPath' of 'this.getMetadata(...).get(...)' as it is null.
    at s.setupOptions (espo-main.js:62674:9)
    at s.setup (espo-main.js:27528:12)
    at s._initialize (bullbone.umd.js:1007:18)
    at e.Factory.prepare (bullbone.umd.js:2871:18)
    at bullbone.umd.js:2860:22
    at e.Factory._getViewClass (bullbone.umd.js:2896:17)
    at e.Factory.create (bullbone.umd.js:2853:18)
    at bullbone.umd.js:1547:31
    at Array.forEach (<anonymous>)
    at s._loadNestedViews (bullbone.umd.js:1482:28)​
  • deepsinghal29@gmail.com
    Junior Member
    • Jan 2024
    • 26

    #2
    yuvarani could you please help here.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8486

      #3
      I disabled notifications on the forum years ago, mentioning me is not necessary, it rather works in an opposite way.

      I assume you created a foreign field and then removed the field the foreign field is referred to.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • deepsinghal29@gmail.com
        Junior Member
        • Jan 2024
        • 26

        #4
        Thank you. it works. However any suggestion how to debug these kind of issues

        Comment

        • yuri
          Member
          • Mar 2014
          • 8486

          #5
          It's not simple. I added a fix to prevent the error from occurring.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          Working...