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

Error when publish user in listing page dropdown #2703

Open
petertsoisstuff opened this issue Dec 3, 2024 · 0 comments
Open

Error when publish user in listing page dropdown #2703

petertsoisstuff opened this issue Dec 3, 2024 · 0 comments

Comments

@petertsoisstuff
Copy link
Contributor

Description

When trying to publish a user on the listing page, it returns an error.

The button in the dropdown also shows an incorrect state, when filtering Active the button label should show Unpublish, but is shows Publish instead.

The active value in the request payload is null, it should be a boolean value.
I think this is the reason why the request returns an error.

image

Steps to reproduce

Install fresh Laravel and Twill, login as Superadmin user, go to CMS Users, and on the listing page click the publish button in the three dots dropdown

Expected result

Publish or unpublish the specific user.

Actual result

Returns an error message "User was not published. Something wrong happened!"

Versions

Twill 3.4.1

Laravel 11.31

php8.3

sqlite

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