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

Error when adding child to Synonymized node #4868

Closed
pashiav opened this issue May 1, 2024 · 0 comments · Fixed by #4874
Closed

Error when adding child to Synonymized node #4868

pashiav opened this issue May 1, 2024 · 0 comments · Fixed by #4874
Assignees
Labels
1 - Bug Incorrect behavior of the product 2 - Trees Issues that are related to the tree system and related functionalities.
Milestone

Comments

@pashiav
Copy link
Contributor

pashiav commented May 1, 2024

Describe the bug
When adding a child to a synonymized node, a TreeBusinessRuleException appears.

To Reproduce
Note: Remote Preferences should not have the line: sp7.allow_adding_child_to_synonymized_parent.TREENAME=true
If it does, set it =false or delete the line, then clear your cache.

  1. Go to a Synonymized node in a tree (ex: testchild-syn on Taxon https://umherb11024-edge.test.specifysystems.org/specify/tree/taxon/?conformation=%7E%7E1%7E573177%7E573193----)
  2. Click on Edit -> Add
  3. Input the synonymized node's name into Parent field, then fill in required fields (ex: testchild-syn; test)
  4. Click Save
  5. See error

Expected behavior
Save should be blocked when the the synonymized node's name is inputted into the Parent field.
v7.9.3.1

Screen.Recording.2024-05-01.at.3.21.01.PM.mov

Evidence
edge

Screen.Recording.2024-05-01.at.3.27.16.PM.mov

Crash Report
Specify 7 Crash Report - 2024-05-01T20_27_31.698Z.txt

OS: macOS Monterey (12.6.5)
Browser: Chrome
Specify 7 Version: edge
Database Name: umherb_1_10_24
Specify 7 System Information - 2024-05-01T20_28_39.353Z.txt

@pashiav pashiav added 1 - Bug Incorrect behavior of the product 2 - Trees Issues that are related to the tree system and related functionalities. labels May 1, 2024
@pashiav pashiav added this to the 7.9.4 milestone May 1, 2024
@CarolineDenis CarolineDenis self-assigned this May 2, 2024
@CarolineDenis CarolineDenis modified the milestones: 7.9.4, 7.9.6 May 2, 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 2 - Trees Issues that are related to the tree system and related functionalities.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants