[MGNLGQL-62] No assets are returned if all assets are requested without path Created: 30/Nov/20  Updated: 14/Dec/20  Resolved: 07/Dec/20

Status: Closed
Project: Magnolia GraphQL
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Martin Drápela Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1h
Original Estimate: Not Specified

Attachments: PNG File image-2020-11-30-14-34-55-241.png     PNG File image-2020-11-30-14-37-23-293.png    
Issue Links:
causality
is causing MGNLGQL-64 DOC: New defaults for limit and offse... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: GraphQL Phase 1
Sprint: HL & LD 17
Story Points: 3

 Description   

Steps to reproduce

  1. Setup access rights for http://localhost:8080/magnoliaAuthor/.graphql?
  2. Send a POST request:
{
    assets {
        name
    }
}

Actual results

 The response is 200, but with no asset data (6.2.5 DX demo):

Expected results

(only possible by specifying the path: "/tours")

Consider default limit for assets (and also other GQL types)



 Comments   
Comment by Canh Nguyen [ 14/Dec/20 ]

It returns assets from root folder if the request is without path.

Generated at Mon Feb 12 05:52:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.