cloudfoundry / cloudfoundry/stratos
The `select cf` page is loaded fully before automatically forwarding to the only cf
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 137
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 77
Description
Added a breakpoint in the cf service and it looked like the page along with list was shown in full.. even when there's an imminent redirect
Also saw a possibly related error in CfOrgCardComponent. Think at the time i was navigating directly to the url
ngOnInit() {
const userRole$ = this.cfEndpointService.currentUser$.pipe(
switchMap(u => {
// FIX ME: This is null if the endpoint is disconnected.
if (!u) {
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the select cf navigation and inspect the redirect path, then review CfOrgCardComponent.ngOnInit and its cfEndpointService.currentUser$ handling. Trace the behavior when the endpoint is disconnected or the URL is opened directly; done means the full page is not rendered before an imminent redirect and the reported null state is handled without an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100