Skip to content

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

@ghost

Description

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions