adminjs icon indicating copy to clipboard operation
adminjs copied to clipboard

[Bug]: Negative number in Record ID

Open maphstay opened this issue 1 year ago • 0 comments

What happened?

In my listed records with list actions there is a record with negative number like -1. image

when I try to open it by show action or edit action I received thew following error: 'You have to pass a valid recordId to the recordAction'. image

Bug prevalence

always that we try to open a record with negative id

AdminJS dependencies version

"@adminjs/express": "^6.0.0", "@adminjs/typeorm": "^5.0.0", "adminjs": "^7.0.6",

What browsers do you see the problem on?

Firefox

Relevant log output

No response

Relevant code that's giving you issues

No response

maphstay avatar Aug 04 '23 18:08 maphstay