SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js

Home Page:https://adminjs.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Negative number in Record ID

maphstay opened this issue · 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