Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-869

GraphQL mutations do not work

    XMLWordPrintable

Details

    • Ibexa Open Source

    Description

      GraphQL mutations return a "Schema is not configured for mutations" error.

      Steps to reproduce:

      1. Access GraphiQL interface
      2. Perform the following request:
      mutation createFolder {
        createFolder(
          language: eng_GB
          parentLocationId: 2
          input: {
            name: "New Folder"
          }
        ) {
          id
        }
      }
      

      Expected result: A folder is created correctly

      Actual result: The following error response is displayed:

      {
        "errors": [
          {
            "message": "Schema is not configured for mutations.",
            "extensions": {
              "category": "graphql"
            },
            "locations": [
              {
                "line": 2,
                "column": 1
              }
            ]
          }
        ]
      }
      

      This applies for all mutations described in https://doc.ibexa.co/en/master/api/graphql_operations/

       

      Note: Other requests, such as querying content, work correctly when changes from https://github.com/ezsystems/ezplatform-graphql/pull/90 are included (not documented yet)

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              dominika.kurek-obsolete@ibexa.co Dominika Kurek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: