ispras / lingvodoc-react

Apache License 2.0
7 stars 11 forks source link

Perspective view error #751

Open myrix opened 2 years ago

myrix commented 2 years ago

Open http://lingvodoc.ispras.ru/dictionary/296/4/perspective/296/5/edit?page=6 logged in as admin, after loading for 1 or 2 seconds we get an empty screen with an error: image

myrix commented 2 years ago

Fixed, now http://lingvodoc.ispras.ru/dictionary/296/4/perspective/296/5/edit?page=6 opens ok.

The problem was some strange empty markup entity: image

This should not be possible and should be investigated.

myrix commented 2 years ago

Relevant Sentry issues:

  1. https://sentry.at.ispras.ru/ispras/lingvodoc-frontend/issues/1080/

  2. https://sentry.at.ispras.ru/ispras/lingvodoc-frontend/issues/1085/

Testing for Sound: http://lingvodoc.ispras.ru/dictionary/296/4/perspective/296/5/edit?page=8 opens ok.

nadezhday commented 2 years ago

@myrix do we need to cover this functionality in our autotests?

Scenario: 1) open http://lingvodoc.ispras.ru/dictionary/296/4/perspective/296/5/edit?page=8 search for: волосы Result: we still can see empty field Click table icon.

Problem: Errors image

myrix commented 2 years ago

@myrix do we need to cover this functionality in our autotests?

@nadezhday Probably not now, looks like we also need to disable viewing such empty entities, reopening.

Investigating how it's possible to create such empty entities and preventing it would probably be a separate issue.