Subscriptions are not correctly listed under the profile
See original GitHub issueBug description
If you create new APIM instance and subscribe to product you cannot see subscription listed under profile.
Reproduction steps
- Go to Azure Portal and create new API Management instance e.g. ‘worldsbestapim’
- Publish new Developer portal
- Sign up with new user using the newly published developer portal
- Navigate to ‘/products’ and subscribe product
- Navigate to ‘/profile’ page and you cannot see your new subscription
Expected behavior
Expected to see list of subscriptions. (Note: These seem to be listed okay in old developer portal).
Is your portal managed or self-hosted?
Managed
Release tag or commit SHA (if using self-hosted version)
N/A
API Management service name
worldsbestapim
Environment
- Operating system: Windows
- Browser: Google Chrome, Edge
Additional context
Browser console shows following error for theme.js
:
Uncaught (in promise) TypeError: Cannot read property 'displayName' of undefined
at new exports.Product (theme.js:2)
at theme.js:2
at Array.map (<anonymous>)
at exports.ProductService.<anonymous> (theme.js:2)
at Generator.next (<anonymous>)
at fulfilled (theme.js:2)
Code at line 32675 fails since contract.properties
is undefined
:
, function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
});
const utils_1 = __webpack_require__(5);
exports.Product = class {
constructor(contract) {
this.id = utils_1.Utils.getResourceName("products", contract.id, "shortId"),
this.name = contract.name,
this.displayName = contract.properties.displayName,
this.description = contract.properties.description,
this.approvalRequired = contract.properties.approvalRequired,
this.state = contract.properties.state,
this.subscriptionRequired = contract.properties.subscriptionRequired,
this.subscriptionsLimit = contract.properties.subscriptionsLimit,
this.terms = contract.properties.terms
}
}
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Question about subscription in user profile settings
We have turned it back off again yesterday but it may mean notifications, subscriptions may not work correctly until we get Elastic search...
Read more >Subscription Manager Always Shows "Not Subscribed"
It seems your system is correctly using your subscription. Try this command to be sure: Raw. subscription-manager list --consumed. You can also ...
Read more >Fix problems with subscriptions - Android - Google Play Help
Find missing subscriptions If you can't find your subscriptions, check that you're signed in to the correct account. Make sure to sign in...
Read more >How to restore your purchase, or transfer your subscription
Those subscriptions might not be reflected correctly if you have multiple profiles, or are logged into the incorrect Apple ID/Google Play account.
Read more >Profile Subscriptions
The Profile Subscription screen displays a list of the OCIS systems to which the current profile subscribes. The following information is provided on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I did, multiple times. I guess third time’s the charm because it appears now. Thanks @JanneMattila
Most of the regions should be updated this week, the rest of them by the end of next week.