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

fix enrollment tab beans silently refreshed from DataTable.filter() #218

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

rkrenn
Copy link
Collaborator

@rkrenn rkrenn commented Mar 23, 2022

updates initiate from within enrollement tabs, such adding an enrollment status use primeface's clientside PrimeFaces.widget.DataTable.prototype.filter().

grafik

this in turn will silently cause to re-select the current row (subject list entry), which re-inits all the enrollment tab beans, effectively re-setting them. this also caused an issue observed in particular: deleting fails (with no error) after an intermediate enrollment status creation.

re-selecting the current row is now prevented by doing unselectAllRows() beforehand.

This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant