[$500] Web - Response error when running code in console #34690
Labels
Bug
Something is broken. Auto assigns a BugZero manager.
Daily
KSv2
External
Added to denote the issue can be worked on by a contributor
Help Wanted
Apply this label when an issue is open to proposals by contributors
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.26-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #33392
Action Performed:
Onyx.set('policyReportFields_47FB5109E0654E15', {
text_title: {
"defaultValue": "{report:type} #{report:reportID}",
"fieldID": "text_title",
"name": "Title",
"orderWeight": 0,
"type": "formula",
},
field_id_TEST: {
"defaultValue": null,
"fieldID": "field_id_TEST",
"name": "Tax Code",
"orderWeight": 1,
"type": "text",
},
field_id_ANOTHER_ONE: {
"defaultValue": "option A",
"fieldID": "field_id_ANOTHER_ONE",
"name": "Project",
"orderWeight": 2,
"type": "dropdown",
"values": ["option1", "option2", "option3"]
},
field_id_DATE_FIELD: {
"defaultValue": "2023-11-19",
"fieldID": "field_id_DATE_FIELD",
"name": "Effective Date",
"orderWeight": 3,
"type": "date",
}
})
Expected Result:
The custom fields show up.
The fields are sorted correctly.
The fields show correct name & default values
Actual Result:
Response error, code not accepted
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: