What does this error mean?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • macMonkey
    Junior Member
    • Nov 2024
    • 18

    What does this error mean?

    Error in instpect element:

    Code:
    [Error] Unhandled Promise Rejection: Error: Syntax error, unrecognized expression: [object Object] .list-row[data-id="672fd669511112ec4"]
       (anonymous function) (espo.js:17:11452)
       Pe (espo.js:17:19754)
       find (espo.js:17:21705)
       (anonymous function) (espo.js:17:22324)
       w (espo.js:17:1063)
       _setElement (espo.js:17:221345)
       setElement (espo.js:17:209467)
       (anonymous function) (espo.js:17:211737)
       m (espo.js:17:207990)
       f (espo.js:17:207785)
       l (espo.js:17:205719)
       (anonymous function) (espo.js:17:207678)
       _afterRender (espo.js:17:213479)
       _afterRender (espo.js:17:213583)
       (anonymous function) (espo.js:17:212610)
       (anonymous function) (espo.js:17:216690)
       getTemplate (espo.js:17:225452)
       _getTemplate (espo.js:17:217156)
       (anonymous function) (espo.js:17:216460)
       s (espo.js:17:215976)
       (anonymous function) (espo.js:17:216153)
       (anonymous function) (espo.js:17:216690)
       n (espo.js:17:225529)
       i (espo.js:17:226015)
       _buildTemplate (espo.js:17:226062)
       getTemplate (espo.js:17:225562)
       _getTemplate (espo.js:17:217156)
       (anonymous function) (espo.js:17:216460)
       s (espo.js:17:215976)
       (anonymous function) (espo.js:17:216153)
       (anonymous function) (espo.js:17:216690)
       n (espo.js:17:225529)
       forEach
       _executeLoadCallback (espo.js:6:202)
       _handleResponseText (espo.js:6:5893)
       (anonymous function) (espo.js:6:5441)​
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Your list view did not receive a proper selector. Pass selector: '.record'.

    In future versions selectors won't be required anymore.
    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


    • macMonkey
      macMonkey commented
      Editing a comment
      This problem still persists even after passing the selector :/
  • yuri
    Member
    • Mar 2014
    • 8440

    #3
    Can you show how you create the list view?
    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


    • macMonkey
      macMonkey commented
      Editing a comment
      I had an extra selector, I fixed it now thank you
      Last edited by macMonkey; 12-05-2024, 01:11 PM.
Working...