Skip to content

Attributes getting cleared when using custom panels on Summary tab to save #361

Description

@bolinkd

Issue:

When attempting the edit and save attributes on a custom panel on the summary tab there is an issue with association data when a belongs_to association's data is not included in the panel.

We have a panel on a summary page that looks like
Image
if a user uses this panel and saves any changes to either the creator or portal (I did not test name but I expect it to have the same effect) any belongs_to data that is not in on this panel gets cleared.

Edit:
I went and tested editing the name field and removing the creator field from the panel. After doing so and refreshing I logged the event. As you can see the name changed but it also cleared the creator_id from the entity.

{
    "id": <id>,
    "context": {
        "action": "Update",
        "collection": "Experience",
        "entrypoint": "forestadmin",
        "forest_user": {
            ...
        }
    },
    "attributes": [
        "name",
        "updated_at",
        "creator_id"
    ],
    "class_name": "Experience",
    "current_attributes": {
        "name": "Financial Analysis for Small Business Growths",
        "creator_id": null,
        "updated_at": "2026-08-20 00:15:14 UTC"
    },
    "previous_attributes": {
        "name": "Financial Analysis for Small Business Growth",
        "creator_id": 15005,
        "updated_at": "2026-08-20 00:14:17 UTC"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions