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

fix: associated catalog selection bug in prod #358

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

katrinan029
Copy link
Contributor

@katrinan029 katrinan029 commented Oct 3, 2023

Description

The provisioning tool's edit view renders the associated catalog selection based on the PREDEFINED_CATALOG_QUERIES. However, currently in prod, the associated catalog isn't rendering correctly for single budget plans due to a code discrepancy. The code was originally matching the data returned from the enterprise catalogs service with the staged PREDEFINED_CATALOG_QUERIES, which differs from the production environment.

Solution

To address this issue, update the matching logic to utilize the config attribute, which will correctly identify the PREDEFINED_CATALOG_QUERIES regardless of the environment.

https://2u-internal.atlassian.net/browse/ENT-7784

@katrinan029 katrinan029 marked this pull request as ready for review October 3, 2023 20:28
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (445625e) 88.40% compared to head (498831e) 88.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #358      +/-   ##
==========================================
- Coverage   88.40%   88.40%   -0.01%     
==========================================
  Files         161      161              
  Lines        3416     3414       -2     
  Branches      843      841       -2     
==========================================
- Hits         3020     3018       -2     
  Misses        393      393              
  Partials        3        3              
Files Coverage Δ
src/Configuration/Provisioning/data/constants.js 100.00% <ø> (ø)
src/Configuration/Provisioning/data/hooks.js 93.13% <100.00%> (-0.07%) ⬇️

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

@katrinan029 katrinan029 merged commit dfc178f into master Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants