Bug report #17533
Some expressions don't work with refactor fields algorithm
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Matthias Kuhn | ||
Category: | Processing/QGIS | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25430 |
Description
Some expresssions can't be used in the refactor fields algorithm. The preview in the expression editor works fine, but the resulting field in the output remains empty.
Example of expressions that don't work:
represent_value("some_field")
relation_aggregates:
--Anzahl Sonden. Feld anz_sonden relation_aggregate( relation:='Erdwärmesonden', aggregate:='sum', expression:="anzahl_sonden" ) --Kumulierte Bohrlänge. Feld gesamt_bohrlaenge relation_aggregate( relation:='Erdwärmesonden', aggregate:='sum', expression:="anzahl_sonden" * "bohrtiefe" )
Associated revisions
Use layer context in RefactorFields algorithm
Fix #17533
History
#1 Updated by Anonymous almost 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|cd0ba918ba6508b57b6ef78dc20fcd465d28d4da.
#2 Updated by Giovanni Manghi almost 7 years ago
- Resolution set to fixed/implemented