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

BUG: Error when trying to delete a user #34

Closed
so-grimm opened this issue Jan 8, 2024 · 2 comments
Closed

BUG: Error when trying to delete a user #34

so-grimm opened this issue Jan 8, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@so-grimm
Copy link

so-grimm commented Jan 8, 2024

Steps to reproduce:

  • Install package in a Neos system with several user accounts
  • go to User Management
  • click on the delete icon of any user and confirm you want to delete

Error Message:

An exception occurred while executing 'DELETE FROM neos_contentrepository_domain_model_workspace WHERE name = ?' with params ["user-redakteur"]

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`<db-name>`.`shel_neos_workspacemodule_domain_model_workspacedetails`, CONSTRAINT `FK_923CCEA8D940019` FOREIGN KEY (`workspace`) REFERENCES `neos_contentrepository_domain_model_workspace` (`)

Additional Information:

  • Neos: ~8.3.0
  • PHP: ^8.2
  • shel/neos-workspace-module: 1.0.0
@Sebobo Sebobo added the bug Something isn't working label Jan 8, 2024
@Sebobo Sebobo self-assigned this Jan 8, 2024
@Sebobo Sebobo closed this as completed in 210adca Jan 8, 2024
@Sebobo
Copy link
Owner

Sebobo commented Jan 8, 2024

Should be fine now with release 1.0.1

@Sebobo
Copy link
Owner

Sebobo commented Jan 8, 2024

Btw. the "delete user" keywords were the relevant one here. For some reason, deleting a workspace worked fine. I don't actually know what the difference is as the deletion of the user triggers the deletion of the workspace 🤷🏻‍♂️
So thanks for a good description!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants