Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not create role or permission from GUI, Laravel 10.45, PHP 8.2 #204

Open
D0nVitalio opened this issue Feb 27, 2024 · 0 comments
Open

Comments

@D0nVitalio
Copy link

Describe the bug
Hi! I can change role names, so DB connection is ok. Problem with creating of permissions and roles. When I press "Save Role" for example, I get this:
Illuminate \ Database \ QueryException
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type integer: "" CONTEXT: unnamed portal parameter $2 = ''
SELECT count(*) AS aggregate FROM "permissions" WHERE "name" = Play Game AND "id" <>

The payload example:
_method: POST
_token: gFSakr4jkkEVUK2WsuFaCIBHvZMQ1aqycw
name: Play Game
slug: play.game
description: Test
model: Permission
action: save

To Reproduce
Steps to reproduce the behavior:

  1. Fresh install L10, Postgres v16 and Roles
  2. Try to create role on your GUI

Desktop (please complete the following information):

  • OS: Win10 64
  • chrome
  • Version latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant