Skip to content

Bug/bi 1594#216

Merged
davedrp merged 9 commits intodevelopfrom
bug/BI-1594
Oct 10, 2022
Merged

Bug/bi 1594#216
davedrp merged 9 commits intodevelopfrom
bug/BI-1594

Conversation

@davedrp
Copy link
Contributor

@davedrp davedrp commented Sep 29, 2022

Description

BI-1594 Fix a few Bugs in the experiment import

Dependencies

bi_web - develop branch.

Testing

NOTE: The logic for creating Observation Unit Names has changed. You may want to work in a new project to avoid naming collisions.

See Acceptance Criteria in BI-1594

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: <please include a link to TAF run>

@davedrp davedrp requested review from a team, dmeidlin and timparsons and removed request for a team September 29, 2022 20:34
@github-actions github-actions bot added the bug Something isn't working label Sep 29, 2022
@davedrp davedrp marked this pull request as ready for review September 30, 2022 15:39
Copy link
Member

@timparsons timparsons left a comment

Choose a reason for hiding this comment

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

Very minor code change request

}
brAPILocationDAO.createBrAPILocation(newLocations, program.getId(), upload);

List<BrAPILocation> createdLocations = new ArrayList<>(brAPILocationDAO.createBrAPILocation(newLocations, program.getId(), upload));
Copy link
Member

Choose a reason for hiding this comment

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

Not a suggestion for this card, but it may be worth having a card to refactor this logic to create a location via the ProgramLocationService, that way the location gets created in both the backing BrAPI server and in the BI DB

@davedrp
Copy link
Contributor Author

davedrp commented Oct 10, 2022

Not merged - reopening

@davedrp davedrp reopened this Oct 10, 2022
@davedrp davedrp merged commit 7c61667 into develop Oct 10, 2022
@davedrp davedrp deleted the bug/BI-1594 branch October 10, 2022 17:16
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