cloudfoundry / cloudfoundry/stratos
Register endpoint: ExpressionChangedAfterItHasBeenCheckedError
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 137
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 77
Description
Steps to reproduce
- Run the app in dev
- Fill out the form as followed:
- Type: Cloud Foundry
- Name: mertrics
- Endpoint Address: http://192.168.99.101:30001
- Switch the type to metrics
- Check the console for the below error:
ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'valid: [object Object]'. Current value: 'valid: true'.
at viewDebugError (core.js:7599)
at expressionChangedAfterItHasBeenCheckedError (core.js:7587)
at checkBindingNoChanges (core.js:7689)
at checkNoChangesNodeInline (core.js:10552)
at checkNoChangesNode (core.js:10539)
at debugCheckNoChangesNode (core.js:11142)
at debugCheckDirectivesFn (core.js:11070)
at Object.updateDirectives (create-endpoint.component.html:6)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:11059)
at checkNoChangesView (core.js:10438)
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
Reproduce the issue in the development app using the Cloud Foundry endpoint form steps and inspect the stack trace entry at create-endpoint.component.html:6. Trace the form's validity value while switching from Cloud Foundry to metrics, then verify that the console no longer reports ExpressionChangedAfterItHasBeenCheckedError.
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
- Mostly clear
- Newbie friendliness
- 45/100