Resolve "Cannot reference another formula which contains aggregates from a new formula"
requested to merge 1081-cannot-reference-another-formula-which-contains-aggregates-from-a-new-formula into develop
Testing
- Checkout develop
- Create a link row field
- Create a formula which aggregates that field, e.g.
sum(field('link row of numbers'))
- Create another formula which references the first formula field, see the
json_builder_args["id"] = F(join_ids[0][0] + "__id") IndexError: list index out of range
error.
And/Or
Install the new personal finance template and see all the footers are broken and trigger backend errors.
Checkout this MR and run the migrations
- Now your sum aggregation should be correct, you should be able to insert rows
- You should see the footer aggregations in the personal finance templates
Merge Request Checklist
- [*] changelog.md has been updated if required
Closes #1081 (closed)
Edited by Nigel Gott