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

Cannot destructure property 'models' of 'undefined' as it is undefined when viewing DNASequence record #4413

Closed
melton-jason opened this issue Jan 17, 2024 · 0 comments · Fixed by #4414
Assignees
Labels
1 - Bug Incorrect behavior of the product

Comments

@melton-jason
Copy link
Contributor

melton-jason commented Jan 17, 2024

Describe the bug
When viewing any DNASequence, FieldNotebook, FieldNotebookPage, or FieldNotebookPageSet record on v7.9.2, the following error occurs.

For example: https://ichthyology.specify.ku.edu/specify/view/dnasequence/30291/

Screenshot from 2024-01-16 22-04-53

Specify 7 Crash Report - 2024-01-17T04_05_00.683Z.txt

The following warning is outputted in the console: accessing unknown field dnasequenceattachments in DNASequence value is undefined

On production, the same error occurs for these tables, but only when the attachments icon is clicked

Screenshot from 2024-01-16 21-12-41

This bug was initially introduced in #3363, and was made somewhat less catastrophic (not immediately crashing when the form is loaded) by the changes in #4284

Desktop:

  • OS: Ubuntu 22.04.3 LTS
  • Browser: Chrome
  • Specify 7 Version: 7.9.2 and production

Reported By
@acbentley at the University of Kansas

@melton-jason melton-jason added the 1 - Bug Incorrect behavior of the product label Jan 17, 2024
@melton-jason melton-jason self-assigned this Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant