Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-22986

FindMeFollowMe API - PUT fails (undefined findmefollow_del)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 15, 16
    • Component/s: None
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      16
    • Distro Version:
      15
    • Distro:
      FreePBX Distro
    • Module Fix Version:

      Description

      an attempted call to set FindMeFollowMe via the rest API fails, because the findmefollow_del function reports as undefined.

      specifics:
      a PUT to (server)/admin/api/api/rest/findmefollow/users/5136

      fails with: 
      ```
      {
      "error":

      { "type": "Whoops\\Exception\\ErrorException", "message": "Call to undefined function FreePBX\\modules\\Findmefollow\\Api\\Rest\\findmefollow_del()", "file": "/var/www/html/admin/modules/findmefollow/Api/Rest/Findmefollow.php", "line": 45 }

      }
      ```

      this attempts to call findmefollow_del() here:
      https://github.com/FreePBX/findmefollow/blob/release/15.0/Api/Rest/Findmefollow.php#L45

      which fails, as findmefollow_del does not exist in findmefollowme class:
      https://github.com/FreePBX/findmefollow/blob/release/15.0/Findmefollow.class.php

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sholinaty sholinaty
                  Reporter:
                  sholinaty sholinaty
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

                    Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.