Skip to content

[BI-1446] trait error: fix error display on trait form#190

Merged
ctucker3 merged 3 commits intorelease/0.6from
bug/BI-1446
Jun 14, 2022
Merged

[BI-1446] trait error: fix error display on trait form#190
ctucker3 merged 3 commits intorelease/0.6from
bug/BI-1446

Conversation

@ctucker3
Copy link
Contributor

@ctucker3 ctucker3 commented Jun 10, 2022

Description

Story: https://breedinginsight.atlassian.net/jira/software/c/projects/BI/boards/1?modal=detail&selectedIssue=BI-1446

The trait errors were accidentally changed when making the trait file import names more consistent. (https://github.com/Breeding-Insight/bi-api/pull/150/files#diff-645879ab06ebc8d8a2f7b0272aaf4c5e897cb743c52798982139924349f1235f)

Reversed those changes for the trait form code, but kept the fixes to the trait file import code.

Dependencies

biweb: develop

Testing

  1. Go to the trait list
  2. Click on "New Trait"
  3. Check that the errors are displayed below the fields.
  4. Try out the Computation, Ordinal, and Nominal fields.

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have tested that my code works with both the brapi-java-server and BreedBase
  • I have create/modified unit tests to cover this change
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have run TAF: https://github.com/Breeding-Insight/taf/actions/runs/2490243610

@github-actions github-actions bot added the bug Something isn't working label Jun 10, 2022
@ctucker3 ctucker3 marked this pull request as ready for review June 10, 2022 17:52
@ctucker3 ctucker3 requested review from HMS17 and nickpalladino June 10, 2022 17:52
Copy link
Contributor

@HMS17 HMS17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's working locally. Have you run it against TAF? Since a decent portion of the remaining TAF failures were related to these error messages being missing.

@HMS17
Copy link
Contributor

HMS17 commented Jun 10, 2022

Also the wrong card is linked in the PR description.

@ctucker3 ctucker3 requested a review from HMS17 June 13, 2022 19:24
@ctucker3
Copy link
Contributor Author

@HMS17 I ran TAF and it looks like it fixes 3 tests that were previously failing. The remaining 3 tests look to be failing because an accessor method error.

@timparsons timparsons changed the base branch from develop to release/0.6 June 13, 2022 19:44
@ctucker3 ctucker3 merged commit 6bd93b2 into release/0.6 Jun 14, 2022
@ctucker3 ctucker3 deleted the bug/BI-1446 branch June 14, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants