question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Visiting marketplace tab breaks service list

See original GitHub issue

Frontend Deployment type

  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • npm run start
  • Other (please specify below)

Backend (Jet Stream) Deployment type

  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • Other (please specify below)

Expected behaviour

Services list shows all existing services.

Actual behaviour

When you initially click on the Services tab all services are shown as expected. After clicking the marketplace tab and go back to the Services tab services are sometimes not shown at all (see image and the corresponding error message below). Refreshing the browser on the services page makes the services list works as expected again.

broken

Note: It occurs in both CF Stratos & Suse Stratos.

Steps to reproduce the behavior

  1. Click Services tab, you will see all services
  2. Click Marketplace tab, nothing to do here
  3. Click Services tab again, list is broken
  4. Refresh the browser on the services page, you will see all services again

Log output covering before error and any error statements

The browser console shows this error multiple times.

ERROR TypeError: "this.serviceInstanceEntity.entity.service_plan.entity.service.entity is undefined"

Note: We also opened this issue in the Suse Stratos github repository https://github.com/SUSE/stratos/issues/399

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
richard-coxcommented, Jul 2, 2020

I’ve created a PR (#4417) that makes how we access the service resource safer (and matches the way we do it in the table view). I was still struggling to reproduce this though, so if you have the chance could you confirm it fixes your issue?

We’ll be migrating to v3 of the CF API soon. The services endpoints have been reworked and a lot of our components will need updating, including this card. I’ll bear this issue in mind when making those changes.

0reactions
rschollmeyercommented, Jul 8, 2020

@richard-cox We tried the code from your PR and it really fixed our issue! I’m going to close this and https://github.com/SUSE/stratos/issues/399 aswell. Thank you very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add services to your Facebook Page | Facebook Help Center
You can list services on your Page to let visitors know what your business offers. Tap in the top left of Facebook. Tap...
Read more >
Facebook Marketplace listing wasn't approved
If you see There are issues with your product next to your listing, it wasn't approved because it goes against our Commerce Policies....
Read more >
Meta Business Help Center: Help, Support & Troubleshooting
Get support, tips & resources on selling on Facebook & Instagram, business tools, troubleshooting ads, account management, content monetization & more.
Read more >
I can't access Facebook Marketplace. | Facebook Help Center
First, try visiting Marketplace from this link. Click or tap below for more information if: The link doesn't work for you. Your access...
Read more >
Get Help with Marketplace | Facebook Help Center
I can't access Facebook Marketplace. First, try visiting Marketplace from ... Facebook Marketplace listing wasn't approved. If you see There are issues with ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found