dwerning1 / test-for-wrike

0 stars 0 forks source link

MerchStore Admin > Products > View/Edit > Adjust Price is not updating. #104

Closed sync-by-unito[bot] closed 3 years ago

sync-by-unito[bot] commented 3 years ago

When adjusting the price of a product, receive Toast notification that the product updated, but new price does not save upon refresh. Link to video from Shadab's QA Report for context. https://www.loom.com/share/a219fe5ff47b4e12b7b4732512f4d3ca

┆Issue is synchronized with this Wrike Item by Unito

sync-by-unito[bot] commented 3 years ago

➤ jborek commented:

noerbot spencegarcia

tl;dr - When we get down to the component where this is breaking, the data no longer resembles the data in the cache, and the data returned from the API update also doesn't match. So I'm open to suggestions, but I either have to rewire everything downstream to match the cache, or I have to do some comparison work during the product update. Either way, I don't have the time allocated today (or the brainpower, still running a fever over here) to make that fix. I made a quick fix that involves adding a forceFetch parameter to the fetchCollection function which just overrides the cache check on this particular update (in PR #474 ( https://github.com/RangeMPLS/merchology-merch-stores/pull/474 ) My suggestion is we merge that for the sake of the demo, leave this issue open (drop the priority a bit) then with the hours I have later in the week for QA/FR, I can solidify the fix here.

sync-by-unito[bot] commented 3 years ago

➤ Santiago Pence Garcia commented:

jborek got it, thanks for explaining!

sync-by-unito[bot] commented 3 years ago

➤ Santiago Pence Garcia commented:

Closing this one as the fix is working as expected.