AbsaOSS / AbsaOSS/enceladus

Implement proper 404 on entities

Đang mở
#757 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Menas priority: medium UX
Ngôn ngữ chính
Scala
Star
33
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Describe the bug
In case there is a 404 and entity was not found, implement a proper 404 instead of telling the user to try again in a few minutes. What is more, the URL reverts to /dataset (or schema, or mapping table) and view to the first element of that entity type.

And focus on an item in the navigation menu lingers as per #650

## To Reproduce
Steps to reproduce the behavior OR commands run:
1. Go to any dataset
2. Append any char [a-zA-Z0-9] to the URL
3. Press enter

## Expected behaviour
I expect a message that tells me it was not found in the database and the URL to revert back to the previous one.

## Screenshots
![Aug-01-2019 14-57-36](https://user-images.githubusercontent.com/17467768/62295547-983bc680-b46d-11e9-82cc-65d1a1644dae.gif)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.