Skip to content

BI-2656 - Append Workflow Requires Timestamps #475

Merged
mlm483 merged 5 commits intorelease/1.1.1from
bug/BI-2656-release
Jul 30, 2025
Merged

BI-2656 - Append Workflow Requires Timestamps #475
mlm483 merged 5 commits intorelease/1.1.1from
bug/BI-2656-release

Conversation

@mlm483
Copy link
Contributor

@mlm483 mlm483 commented Jul 10, 2025

Description

Story: https://breedinginsight.atlassian.net/browse/BI-2656

Changes:

  • Added a null check in OverwrittenData.
  • Added a parameter to ImportTableProcess::isChanged to distinguish between the case when a timestamp column in present in the uploaded file but the value is null and when the timestamp column is absent from the file.
  • Added an integration test to cover this edge case.

Dependencies

bi-web branch: release/1.1.1

Testing

Set Up

Test Procedure

Optionally test the following with the release/1.1.1 branch of bi-api first to repoduce the bug.

  • Download the KRSP22-j experiment without timestamps.
  • Open the file and add a phenotypic data column, for example INCW8SUM. image
  • Save and upload the file using the append workflow.
    • If using release/1.1.1 this will result in an error.
    • If using bug/BI-2656-release this will succeed.
      • Ensure that there is no overwrite warning (pictured below) after upload. image

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>

@github-actions github-actions bot added the bug Something isn't working label Jul 10, 2025
@mlm483 mlm483 marked this pull request as ready for review July 16, 2025 22:10
@mlm483 mlm483 requested review from a team, davedrp and nickpalladino and removed request for a team July 16, 2025 22:10
Copy link
Contributor

@davedrp davedrp left a comment

Choose a reason for hiding this comment

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

test passed

prevents erroneous mutated data indication on upload preview
@mlm483 mlm483 merged commit 35238b1 into release/1.1.1 Jul 30, 2025
1 check passed
@mlm483 mlm483 deleted the bug/BI-2656-release branch July 30, 2025 14:23
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