Embedded views throwing code 500 on MR

Hello,

Since our Gitlab instance upgraded to 18.9, we are not able to use Embedded Views in Merge Requests. Instead of rendering the view, we get the following infobox:

When looking into the network requests, we see the request is answered with HTTP 500 and this data:

[{message: "Internal server error"}]

Context

Our code is located let’s say in “foo/codebase“

Our templates looks like this

query: type = issue AND project = "bar/project" AND id in ( 1, 2 )

title: Gitlab ticket this MR resolves
description: Related ticket(s) will be resolved on merge.
display: list
collapsed: true
limit: 5
fields: title, description, state, milestone

I’m not sure if the following info will help of if everything is expected, from what I see, it seems the GLQL query api call seems to be requested with the **codebase **project path and my query as you saw above also contains a (different) project path:

https://GITLAB_INSTANCE/api/glql?project=foo%2Fcodebase

That being said, simplifying the query to `type = issue` doesn’t not even allow to show the foo/codebase own issues.

Thanks in advance!

Please open a bug report using this template: https://gitlab.com/gitlab-org/gitlab/-/issues/new?issuable_template=Bug

For anyone coming on this thread, please find the issue here: [GLQL] Embedded views throwing code 500 on MR (#592545) · Issues · GitLab.org / GitLab · GitLab

1 Like