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

Weird behavior when setting secondary orchard #1634

Open
mgaseta opened this issue Sep 24, 2024 · 0 comments · May be fixed by #1673
Open

Weird behavior when setting secondary orchard #1634

mgaseta opened this issue Sep 24, 2024 · 0 comments · May be fixed by #1673
Assignees
Labels
bug Something isn't working

Comments

@mgaseta
Copy link
Collaborator

mgaseta commented Sep 24, 2024

Describe the Bug
After selecting the first orchard and making a change on the table in step 5, clicking the button to add a secondary will clean the table without any warning for the user.

Expected Behaviour
When trying to add a new orchard the user needs to warned about what will happen with the table on step 5 OR the table should not change until the orchard is selected.

Actual Behaviour
Table in step 5 being cleaned after the "Add secondary orchard" button is clicked withou informing the user

Steps To Reproduce
Steps to reproduce the behaviour:

  1. On the seedlot registration screen, go to step 4
  2. Select a primary orchard
  3. Go to step 5
  4. Add any value on the parent tree table
  5. Go back to step 4
  6. Click the "Add additional orchard" button
  7. Go back to step 5
  8. The parent tree table is empty

Additional context
This problem was first identified on issue #1594

@mgaseta mgaseta added the bug Something isn't working label Sep 24, 2024
@SLDonnelly SLDonnelly added this to the SPAR2 corrections milestone Sep 24, 2024
@SLDonnelly SLDonnelly mentioned this issue Oct 2, 2024
2 tasks
@xiaopeng0202 xiaopeng0202 self-assigned this Oct 2, 2024
@xiaopeng0202 xiaopeng0202 linked a pull request Oct 15, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment