Public snippet cannot viewed by unauthenticated user
Summary
Public snippet cannot viewed by unauthenticated user, by GraphQL error.
Steps to reproduce
- Create a public snippet
- Access it by anonymous page
Example Project
https://gitlab.fretebras.com.br/snippets/173
What is the current bug behavior?
This error occur after update to Community Version 13.0.3 (e2397fc2acb)
What is the expected correct behavior?
View the public snippet snippet
Relevant logs and/or screenshots
vue-apollon.esm.js
message: "Cannot return null for non-nullable field Snippet.author"
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Availability and Testing
Please run package-and-qa
after frontend changes to make sure there are no unexpected regressions. We might also need new frontend specs to verify the author information is shown/not shown correctly in UI depending on pre-conditions.
Edited by Anastasia McDonald