Skip to content

Calculate Field's preview shows the expression's value when a calculation rule writes the same field #2884

Done

Description

@jgregoriorincon

When a layer has a calculation rule writing the field Calculate Field calculates, Calculate writes the expression's result and the rule then writes over it, so the field holds the rule's result. The preview (#2817) shows the expression's result, and since #2837 a refusal next to it quotes the rule's: Preview: 2 (refused: 20 isn't allowed in m (its domain)). The preview could show the value the field would hold after the rules, with what writing it loses.

Found in review of #2873.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions