[BUG] - Export Fields Lists - Calculated Fields exported before referenced Fields in Formula
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
I'm bumping up against this exact issue with the old PnP Powershell module but in the latest PnP.Powershell 1.6.0.
To work around it, I am having to open the XML files in an editor and reorder the <Field>s in each <pnp:Fields> so that the calculated fields come last. If I do not do this, the template fails to apply.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing template application with XML containing pnp:Fields where a calculated field precedes a referenced field, then trace the export and provisioning-engine entry points that assemble and apply these fields. Done means calculated fields are exported after the fields referenced by their formulas and the resulting template applies without manually reordering the XML.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100