Announcement

Collapse
No announcement yet.

Certain user not able to view detail page of record

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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)​

  • #2
    yuvarani could you please help here.

    Comment


    • #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.

      Comment


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

        Comment


        • #5
          It's not simple. I added a fix to prevent the error from occurring.

          Comment

          Working...
          X