Announcement

Collapse
No announcement yet.

API bug

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

  • API bug

    Sorry, it's might be written wrong, but I guess you'll understand the issue.
    we updated espo to v7.0.7 and figured our an issue in API. there a sample and issue:
    client->request('GET', $sisara['enety'].'?offset=0&maxSize=1&where[0][field]='.$sisara['wheretofind'].'&where[0][type]=equals&where[0][value]='.$sisara['whattofind']);
    by the suc request we always get response:
    [total] => -2
    no matter is there are any records or no. We do some testings or actions based on [total] value, but if it's always -2 it's bad
    Last edited by yuri; 10-18-2021, 10:45 AM.

  • #2
    How about "Disable record count" for the $sisara['enety'] entity?
    Attached Files

    Comment


    • partomas
      partomas commented
      Editing a comment
      It's "unchecked" like in your picture.

  • #3
    If a total is shown on the list view (for any entity) that means API works. Maybe you have some customization for your entity.

    Comment


    • #4
      Thank you, we'll look at our side.

      Comment

      Working...
      X