Feature(s) impacted
Simple field editing
Observed behavior
When editing a foreign key field on a record via the standard Forest Edit UI, the request succeeds but the field is not updated. It seems like this started happening yesterday without any changes on our side. Additionally, if we change other fields as part of the same request (fields on the table that are not foreign keys), those fields will update and the foreign key will not update.
Expected behavior
The field should be updated.
Failure Logs
Example request from browser logs (partially redacted - returns a 200 OK)
HTTP PUT payload:
{
"id": "46718",
"attributes": {},
"relationships": {
"PrimaryNtuReason": {
"data": {
"type": "DbNtuReasons",
"id": "2"
}
}
},
"type": "DbJuristicEntities"
}
The request succeeds but the value is not updated, and the response (partially redacted) shows the same thing with data being null:
{
"data": {
"type": "DbJuristicEntity",
"id": "46718",
"attributes": {
"Id": 46718
},
"relationships": {
"PrimaryNtuReason": {
"data": null,
"links": {
"related": {
"href": "/forest/DbJuristicEntity/46718/relationships/PrimaryNtuReason"
}
}
}
}
}
}
Context
- Project name: Bridgement.1
- Team name: Operations
- Environment name: Production
- Agent type & version: “forest-express-sequelize”: “^8.4.10”, “sequelize”: “6.6.2”
- Recent changes made on your end if any: N/A