microsoft / microsoft/Power-Fx
Automated low-code plugins are unable to be saved when no English locale available
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
Automated low-code plugins are unable to be saved when the locale is Dutch (and it's the only local installed in dataverse)
In the dataverse accellerator, I write an automated plugin with the following Simple expression:
If(NewRecord.'Gemaakt op' < Now(),
Error("The due date cannot be in the past")
)
or
If(NewRecord.createdon < Now(),
Error("The due date cannot be in the past")
)
This simple expression should work, but I keep getting the following error:
An unexpected error occurred while creating FxExpression: Errors: Error 30-31: Onverwachte tekens. De formule bevat Error terwijl ParenClose wordt verwacht.
Error 30-31: Onverwachte tekens. De tekens worden in de formule op een onverwachte manier gebruikt.
Error 2-3: Ongeldig aantal argumenten: 1ontvangen, 2 of meer verwacht.
When I try the same expressin on another environment that is configured in English, this error is not happening and the plugin works like a charm!
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
Reproduce the automated plugin save in the Dataverse accelerator with Dutch as the only installed locale, using the provided Error expressions and then an English-configured environment for comparison. Investigate the locale-specific parsing failure; the issue is done when the expressions save successfully without requiring an English locale.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100