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

Multiline control can delete unwanted records #1994

Open
mvorisek opened this issue Feb 7, 2023 · 1 comment
Open

Multiline control can delete unwanted records #1994

mvorisek opened this issue Feb 7, 2023 · 1 comment
Labels

Comments

@mvorisek
Copy link
Member

mvorisek commented Feb 7, 2023

I found this when coding #1991

https://github.com/atk4/ui/blob/4.0.0/src/Form/Control/Multiline.php#L357

the IDs to delete must come from the client/UI explicitly, otherwise rows from another sessions will be deleted at best

@mvorisek mvorisek changed the title Multiline control can delete umwanted records Multiline control can delete unwanted records Feb 7, 2023
@mvorisek
Copy link
Member Author

multiline is one usecase, editing a field that has been edited in a different session should throw in general

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant