Skip to content

OBPIH-7501 Allow update recipient and ship dates via PO import when source inactive#5719

Merged
alannadolny merged 2 commits into
developfrom
bug/OBPIH-7501
Jan 23, 2026
Merged

OBPIH-7501 Allow update recipient and ship dates via PO import when source inactive#5719
alannadolny merged 2 commits into
developfrom
bug/OBPIH-7501

Conversation

@alannadolny
Copy link
Copy Markdown
Collaborator

No description provided.

@alannadolny alannadolny self-assigned this Jan 19, 2026
@github-actions github-actions Bot added type: bug Addresses unintended behaviours of the app domain: backend Changes or discussions relating to the backend server labels Jan 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 9.84%. Comparing base (1bb7314) to head (1e2622b).
⚠️ Report is 324 commits behind head on develop.

Files with missing lines Patch % Lines
...rvices/org/pih/warehouse/order/OrderService.groovy 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             develop   #5719      +/-   ##
============================================
+ Coverage       9.12%   9.84%   +0.71%     
- Complexity      1170    1376     +206     
============================================
  Files            701     732      +31     
  Lines          45281   46137     +856     
  Branches       10851   11014     +163     
============================================
+ Hits            4131    4541     +410     
- Misses         40497   40891     +394     
- Partials         653     705      +52     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

}
if (!productSource.active) {
throw new ProductException("Product source ${sourceCode} for product ${productCode} is inactive")
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't you actually allow to update all fields by this change? Wasn't it only supposed to allow to update recipient and ship dates when the source is inactive?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It's hard to say what the desired behavior is. I need to ask Kelsey :/

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

after yesterdays standup, I pushed a fix that prevents import when there are new order items with disabled product source, but I allow to modify existing lines with disabled sources.

cc @ewaterman

@alannadolny alannadolny merged commit 40c4beb into develop Jan 23, 2026
7 checks passed
@alannadolny alannadolny deleted the bug/OBPIH-7501 branch January 23, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: backend Changes or discussions relating to the backend server type: bug Addresses unintended behaviours of the app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants