Skip to content

ExpressionChangedAfterItHasBeenCheckedError when saving layer style #6045

@jmacura

Description

@jmacura

Bug

Describe the bug
ExpressionChangedAfterItHasBeenCheckedError when saving layer style in Styler panel.

NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '44'. Current value: '-1'. Expression location: HsStylerComponent component. Find more at https://v20.angular.dev/errors/NG0100

To Reproduce
Steps to reproduce the behavior:

  1. Open a Layman/WFS layer
  2. Go to 'Styler' panel
  3. Choose 'Upload style as SQL/QML file'
  4. Upload an SLD style
  5. Change style title
  6. Change the style itself (fill colour and outline colour)
  7. Save changes
  8. See error

Expected behavior
Style updated on server.

Screenshots

Image

Additional context
Not sure, whether steps 3-4 are necessary, or if it fails even without them.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions