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

fetchRingGroup graphQL query returns invalid data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 16.0.9
    • Fix Version/s: None
    • Component/s: API, Ring Groups
    • Labels:
      None
    • Asterisk Version:
      20
    • Distro Version:
      16.0.30

      Description

      When calling fetchRingGroup with a group Number which doesn't exist, invalid data will be returned (seemingly the first ringgroup in the system).

      Steps to reproduce
      1. Select a ringgroup number which doesn't exist in the system
      2. Do a grapql search:

      
      query select{
        fetchRingGroup (groupNumber: 2001) {
            id
            groupNumber
            groupList
            description
        }
      }
      

      Expected results:
      No data returned

      Actual results:
      A different ringgroup is returned to the one requested, seemingly the first one in the ssytem

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                danpoltawski Dan Poltawski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

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