cloudfoundry / cloudfoundry/stratos

Register endpoint: ExpressionChangedAfterItHasBeenCheckedError

Open
#2,994 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-validation
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

Steps to reproduce

  1. Run the app in dev
  2. Fill out the form as followed:
  1. Switch the type to metrics
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.