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

LITE-28328: Handling cases in which the distributor doesn't have acce… #81

Conversation

akodelia
Copy link
Contributor

@akodelia akodelia commented Aug 8, 2023

…ss to product anymore. Also, if marketplace was deleted.

…ss to product anymore. Also, if marketplace was deleted.
@akodelia akodelia force-pushed the bug/LITE-28328-Error-on-startup-due-no-available-unlisted-listing branch from 61889ea to a4b9434 Compare August 8, 2023 09:30
@@ -168,8 +168,11 @@ def get_all_listing_info(client, status='listed'):
for list_ in listings:
mkp_id = list_['contract']['marketplace']['id']
prd_id = list_['product']['id']
list_['contract']['marketplace'] = filter_object_list_by_id(marketplaces, mkp_id)
list_['product'] = filter_object_list_by_id(products, prd_id)
try:
Copy link
Contributor

@Hairash Hairash Aug 8, 2023

Choose a reason for hiding this comment

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

[COD-C] Don't we want to add a comment here to explain the business cases, what do you think?

@akodelia akodelia merged commit d8cf566 into master Aug 9, 2023
4 checks passed
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