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

Graphql returns null response for ezbinary field type attributes

    XMLWordPrintable

Details

    Description

      When you retrieve ezbinary field type attributes with GraphQL, it returns null value.

      Steps to reproduce:

      Install clean version of DXP 3 or 4

      Update article content type and add an new ezbinary field type 

      Create a new article with a binary file and publish

      go to graphiql interface and try to retrieve data from the ezbinary field

       

      {  
          content {
            articles { 
                edges {     
                  node {     
                     _name      
                     newEzbinaryfile10 {     
                       fileName       
                       fileSize   
                       uri      
                       mimeType     
                   }    
              }  
            }  
          }
        }
      }

      Result:

       

         {      
            "node": {  
                  "_name": "article 2",    
                  "newEzbinaryfile10": {    
                  "fileName": null,    
                  "fileSize": null,    
                  "uri": null,
                  "mimeType": null    
                }      
            }      
          }, 

       

       

      Expected result

      We should be able to retriev  eZbinary file attributes

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              lionel.akpagni@ibexa.co Lionel Akpagni
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: