Skip to content

[BUG] - The audit meta id is not reflecting the id of the editable table when the editable table is inside an Edit Page. #6906

@joanaavelar

Description

@joanaavelar

Describe the bug

I have an Edit Page composed by form items and also an editable table. Whenever I edit a table row, the audit meta id does not correspond to the edited row id but always to the edited page id. In previous versions, this did not happen. This is a breaking change.

Steps To Reproduce

1 - Unzip form-antd-custom-validation.
2 - yarn install inside form-antd-custom-validation
3 - yarn run dev
4 - Click on the editable icon from row 6 of Post List page
5 - You will navigate to Edit Page of id 6
6 - Open Inspect Tooks
7 - Select Network Tab
8 - Click on the editable icon from row 1 of Post Edit page
9 - Update the Title value
10 - Click on save icon
11 - Look at Network Tab and see that logs (audit endpoint) request in the payload has on meta.id the value 6 and not value 1.

Expected behavior

I was expecting to have, on logs (audit endpoint) request, the value 1 instead of 6 on the meta.id.

Packages

"@refinedev/antd": "^5.46.2",
"@refinedev/cli": "^2.16.46",
"@refinedev/core": "^4.57.10",
"@refinedev/react-router": "^1.0.1",
"@refinedev/simple-rest": "^5.0.10",

Additional Context

audit-bug.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions