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

ViewCustomerPage doesn't show correct information if navigated back from OrderPage. #22

Open
ghost opened this issue Apr 7, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 7, 2022

Hello, I see the Issue#16 with CustomerDetailPage is fixed, but now there's another issue.

Steps to reproduce:

  • Create a new customer (for example, Mr. Z)
  • Save the customer details
  • Click Add order
  • On the order page, press Cancel, or go back
  • Now, the program should go back to customer Mr. Z, that was already created and we were just adding an order to that customer.
  • But the program goes to a new customer page.

This bug didn't happen before this fix

Sorry for the delayed response to this issue. We've just released a bunch of updates for this sample, including a fix for this bug. The solution is just that the NavigationCacheMode for the CustomerDetail page should be set to Disabled so the customer data isn't cached. See this commit for the fix: 423b80b

Originally posted by @jwmsft in #16 (comment)

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

No branches or pull requests

0 participants