Azure / Azure/azure-functions-host
Adding comments in function.json file causes encoding issues.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
#### Check for a solution in the Azure portal
For issues in production, please check for a solution to common issues in the Azure portal before opening a bug. In the Azure portal, navigate to your function app, select `Diagnose and solve problems` from the left, and view relevant dashboards before opening your issue.
#### Investigative information
Please provide the following:
- Timestamp: 2023-12-14 02:13:22PST
- Function App version: NA
- Function App name: pnevmcninffunapp101
- Function name(s) (as appropriate): NA
- Invocation ID: NA
- Region: Global
There is an internal CRI for the same - 450609333
#### Repro steps
Provide the steps required to reproduce the problem:
Go to a function app on the portal with a function in it. Edit the function.json file to add a "comment", save and refresh. The API call then fails with encoding issue.
#### Expected behavior
You should be able to add a comment successfully and fetch the file again after saving.
#### Actual behavior
Unable to load the function as the API call fails due to encoding issue.
#### Known workarounds
Provide a description of any known workarounds.
#### Related information
Provide any related information
* Programming language used
* Links to source
* Bindings used
Contributor guide
Research direction
Start by reproducing the issue in the Azure portal: add a comment to a function.json file, save it, refresh, and observe the API encoding failure. Compare the saved file with the fetched file; the issue is done when comments can be saved and the function.json file can be fetched successfully afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100