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

RLS-3715 VT-5648 Open Cart: Not All Products are Receiving Quantity Updates (issue for different versions) #3

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

mrassudishkin
Copy link
Contributor

@mrassudishkin mrassudishkin commented Sep 9, 2022

[RLS-3715]
Issue: looks like we have three version of OpenCart. On the same API they returns different behavior and response.

  1. Accounts like https://valvestore.forfansbyfans.com. They don't work with paging and return all products always. This is reason of this issue.
  2. Accounts like https://synthcube.com. They work with paging and without paging.
  3. Accounts like https://prestacart.courtneyscandles.com. They work only with paging. This is source of issue in ticket VT-5621.

What did I do here?

I added condition for searching unique items. I.e for accounts of type #1 we will receive all products in first request and will receive them again on second request. After that - we will break loop. I know that it isn't super idea, but I wasn't able to search any differences between responses for these accounts. These response doesn't have any version and etc.
[RLS-3715]: https://agileharbor.atlassian.net/browse/RLS-3715


public static void Warning( Mark mark, string format, params object[] args )
{
var markStr = $"[{mark}]\t";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we fix templates to have all Capital Letters?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Contributor

Choose a reason for hiding this comment

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

@mrassudishkin - I still see {mark} instead of what I would've expected to be {Mark}. What did you fix?

Copy link
Contributor

@slav slav left a comment

Choose a reason for hiding this comment

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

had a couple of questions

@mrassudishkin mrassudishkin requested a review from slav September 15, 2022 05:59
@mrassudishkin mrassudishkin merged commit ff7579a into master Oct 6, 2022
@skuvault-bot skuvault-bot bot changed the title VT-5648 Open Cart: Not All Products are Receiving Quantity Updates (issue for different versions) RLS-3715 VT-5648 Open Cart: Not All Products are Receiving Quantity Updates (issue for different versions) Nov 22, 2022
@skuvault-bot skuvault-bot bot changed the title VT-5648 Open Cart: Not All Products are Receiving Quantity Updates (issue for different versions) RLS-3715 VT-5648 Open Cart: Not All Products are Receiving Quantity Updates (issue for different versions) Nov 22, 2022
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.

4 participants