Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30275

[GraphQL] Can't use "currentVersion" property

    Details

      Description

      Trying to use the "currentVersion" property fails with an Internal Server error.

      Example query (on ezplatorm-ee):

      {
        content {
          landingPage(locationId: 2) {
           	_info {
              currentVersion {
                names
              }
            }
          }
        }
      }
      

      Result:

      {
        "errors": [
          {
            "debugMessage": "Unknown resolver with alias \"LoadVersion\" (verified service tag)",
            "message": "Internal server Error",
            "category": "internal",
      (...)
      

        Activity

        Hide
        Bertrand Dunogier added a comment -

        Fixed in ezplatform-graphql/pull/13 by removing the field, as it is not necessary.

        Show
        Bertrand Dunogier added a comment - Fixed in ezplatform-graphql/pull/13 by removing the field, as it is not necessary.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marek NocoĊ„
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: