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

Taxon does not belong to the same tree as this Object Type despite taxon being in the tree corresponding to the object type #5322

Open
grantfitzsimmons opened this issue Oct 10, 2024 · 0 comments
Labels
1 - Bug Incorrect behavior of the product regression This is behavior that once worked that has broken. Must be resolved before the next release.
Milestone

Comments

@grantfitzsimmons
Copy link
Member

Describe the bug

This was reported by Chris at the Gothenburg museum of natural history. Test panel database is gnm_2024_10_10

Two of our users (kareb1, carho18) encounter the same issue while adding records in the collection GNM Mollusca_Ovriga.

After logging in, the first registration saves normally. When creating a new record, though, the taxon field locks with an error message, then continues to be locked even when we try searching for a new species. Nothing seems to be wrong in the taxon tree.

After a logout/login it works for one record again.

ID Name CollectionObjectTypeID
589824 GNM Mollusca_Ovriga 18
  • Those users can without errors adding records in other collections.
  • Other users can without errors adding records in GNM Mollusca_Ovriga
  • I cannot reproduce the error in my test environment (database copy from October 1) using one of these user’s credentials.
  • It may be that this error first occurred after October 1. We receive a db backup file to our Azure on the 1:st every month, so I have not got a fresh db to check with.

This is in the gnm database, where the CollectionObjectTypeID is present at the collection level in all cases:

ID Name CollectionObjectTypeID
4 GNM Entomology 1
32769 GNM Acanthocephala 2
65536 GNM Cestoda 3
98304 GNM Hydrozoa 4
131072 GNM Porifera 5
163840 GNM Protozoa 6
229377 Generalkatalogen 7
262145 Värddjur 8
294912 GNM Trematoda 9
327680 GNM Nematoda 10
360448 GNM Crustacea 11
393216 GNM Turbellaria 12
425984 GNM Anthozoa 13
458752 GNM Gastropoda 14
491520 GNM Polychaeta 15
524288 GNM Gephyrea 16
557056 GNM Echinodermata 17
589824 GNM Mollusca_Ovriga 18
655360 GNM Cephalopoda 19
688128 GNM Bryozoa 20
753664 GNM Nemertinea 21
786432 GNM Xenoturbellida 22
819200 GNM Entoprocta 23
851968 GNM Cubozoa 24
884736 GNM Staurozoa 25
983040 GNM Stormusslor 26
1015808 GNM Cephalochordata_Acrania 27
1114112 GNM Phoronidea 28
1146880 GNM Enteropneusta 29
1179648 GNM Acoelomorpha 30
1245184 GNM Nematomorpha 31
1277952 GNM Ctenophora 32
1310720 GNM Hirudinea 33
1409024 GNM Linguatulida_Pentastomida 34
1441792 GNM Brachiopoda 35
1474560 GNM Branchiobdellida 36
1507328 GNM Kinoryncha 37
1540096 GNM Chaetognatha 38
1572864 GNM Xiphosurida 39
1605633 GNM Palaeontology 40
1638401 GNM Araneae 41
1671168 GNM Acari 42
1671169 GNM Pycnogonida_Pantopoda 43
1703936 GNM Opiliones 44
1736704 GNM Scorpiones 45
1769472 GNM Myriapoda 46
1802240 GNM Isopoda terrestria 47
1835009 GNM Mollusca terrestria 48
1867777 GNM Scyphozoa 49
1900544 GNM Herpetology 50
1933312 GNM Mammology 51
1966081 GNM Tunicata 52
2031616 GNM Ichthyology 53
2031617 GNM Oligochaeta 54
2031618 GNM Onychophora_Protracheata 55
2064384 GNM Ornithology 56
2097152 GNM Mineralogy 57
2129920 GNM Pseudoscorpiones 58

To Reproduce
Steps to reproduce the behavior:

  1. Log in as kareb1 in the GNM Mollusca_Ovriga collection
  2. Create a new Collection Object record
  3. Enter a determination with the taxon Ennucula tenuis
  4. See error

Expected behavior
This is in the correct tree and it has the correct COT. It should not be an error.

Screenshots
1
2
träd

@grantfitzsimmons grantfitzsimmons added 1 - Bug Incorrect behavior of the product regression This is behavior that once worked that has broken. Must be resolved before the next release. labels Oct 10, 2024
@grantfitzsimmons grantfitzsimmons added this to the 7.9.8 milestone Oct 10, 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 regression This is behavior that once worked that has broken. Must be resolved before the next release.
Projects
None yet
Development

No branches or pull requests

1 participant