Commit 4d896c11 authored by syasonik's avatar syasonik

Identify correct sentry id

In migrating the error detail view for Sentry errors to GraphQL,
the sentry error id got mis-mapped. This fixes the regression.
parent 20052722
......@@ -207,7 +207,7 @@ export default {
<gl-form-input class="hidden" name="issue[title]" :value="issueTitle" />
<input name="issue[description]" :value="issueDescription" type="hidden" />
<gl-form-input
:value="GQLerror.id"
:value="GQLerror.sentryId"
class="hidden"
name="issue[sentry_issue_attributes][sentry_issue_identifier]"
/>
......
---
title: Identify correct sentry id in error tracking detail
merge_request: 23280
author:
type: fixed
......@@ -39,7 +39,8 @@ describe('ErrorDetails', () => {
});
wrapper.setData({
GQLerror: {
id: 129381,
id: 'gid://gitlab/Gitlab::ErrorTracking::DetailedError/129381',
sentryId: 129381,
title: 'Issue title',
externalUrl: 'http://sentry.gitlab.net/gitlab',
firstSeen: '2017-05-26T13:32:48Z',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment