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

Product name (id) is being shown on the Profile page instead of the Product displayName #882

Closed
VWACBrick opened this issue Sep 3, 2020 · 1 comment · Fixed by #884
Closed
Assignees
Labels
(t) Bug Bug reports (actual behavior is different than the expected behavior).

Comments

@VWACBrick
Copy link

VWACBrick commented Sep 3, 2020

This appears to be regression with change #819

Our Products are loaded through our pipeline and the ID is an autogenerated guid. So, we are now seeing this on the Profile page. In this example, the Product name is the Product ID, not the Product Display Name. Note, you can see the "unlimited" has the lower case 'u' which is the default product from APIM when the site is provisioned. In this case the "Unlimited" product has the Id of "unlimited"

image

Reproduction steps

  1. Create a new Product in Azure portal, make not to make the Display Name and ID different.
  2. Make sure the new Product has Access control set to Developer and Guests
  3. Make sure the new Product is assigned to the Echo API
  4. Launch the portal
  5. Log into the site
  6. Select the new product from the Products page
  7. Select it to subscribe to it.
  8. Navigate to your Profile page to review your subscriptions

image

Expected behavior

The Product Display Name should be shown.

Is your portal managed or self-hosted?

Both

Release tag or commit SHA (if using self-hosted version)

2.4.3

Additional context

? Was this the change?

changing Line 127 to helped our experience, but didn't test all aspects of the site.
subscriptionModel.productName = product.properties.displayName;

image

@azaslonov azaslonov added the (t) Bug Bug reports (actual behavior is different than the expected behavior). label Sep 3, 2020
@azaslonov azaslonov self-assigned this Sep 3, 2020
@azaslonov
Copy link
Member

Thanks @VWACBrick, we'll fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(t) Bug Bug reports (actual behavior is different than the expected behavior).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants