Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web][NFC] Rephrase "report not found" error message #3376

Merged
merged 1 commit into from
Jul 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions web/server/vue-cli/src/views/ReportDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
outlined
text
>
The report (report ID: {{ $router.currentRoute.query["report-id"] }},
report hash: {{ $router.currentRoute.query["report-hash"] }},
file path: {{ $router.currentRoute.query["report-filepath"] }})
was removed from the database.
The report (
report ID: <i>{{ $router.currentRoute.query["report-id"] }}</i>,
report hash: <i>{{ $router.currentRoute.query["report-hash"] }}</i>,
file path:
<i>"{{ $router.currentRoute.query["report-filepath"] }}"</i>
) was removed from the database.

<span v-if="!$router.currentRoute.query['report-hash']">
Unfortunatelly your URL parameter was saved from and older version
of CodeChecker and it does not contain a <i>report-hash</i>
parameter to fallback the search for.
Unfortunately, your hyperlink was copied from an older version of
CodeChecker and the request does not contain the <i>report-hash</i>
parameter which could be used as a fallback mechanism.
</span>
</v-alert>
</v-col>
Expand Down