shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
285 stars 45 forks source link

Permission CRUD endpoints throwing error when utilising #1424

Closed hlayisanimazuze closed 2 weeks ago

hlayisanimazuze commented 2 weeks ago
  1. When you create, a new permission, child permission, deleting and updating an error gets thrown

Steps to reproduce the behavior:

  1. Go to 'https://function-adminportal-test.shesha.dev/dynamic/Shesha/permission-configurator'
  2. Open developer console
  3. Click on 'create root'
  4. Enter the required information
  5. Click on 'Save'
  6. Actual Results: Error message could not insert: [Shesha.Domain.PermissionDefinition#f7956707-1452-4661-994b-9c5920c035ba][SQL: INSERT INTO Frwk_PermissionDefinitions (Parent, Id) VALUES (?, ?)]
  7. Refresh the page
  8. Check the permission you've created
  9. Actual Results: The permission shows on the list
  10. Try to delete/update/create a child
  11. Actual Results: An error gets thrown

Expected behavior The permission CRUDs should work as expected

image

image

hlayisanimazuze commented 2 weeks ago

Related Item

1418