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

DAM assets are not working properly with GraphQL

    XMLWordPrintable

Details

    • Ibexa Experience

    Description

      Steps to reproduce:

      1. Use unsplash as DAM connector.
      2. Add imageasset fieldtype to Article Content Type with asset identifier.
      3. Create new Article and pick image asset from DAM.
      4. Run php bin/console ibexa:graphql:generate-schema command.
      5. Access /graphiql URL.
      6. Run the following request:
        {
            content {
              articles {
                edges {
                  node {
                    title
                    asset {
                      uri
                    }
                  }
                }
              }
            }
        }
        

      Result:
      You will be presented with an exception:

      Could not find 'Content' with identifier 'findSingle() found no content for the given $criterion

      Expected result:
      The query result should be presented without an exception.

      Note:
      Problem doesn't occur with standard imageasset fieldtype.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: