UI-Component: fix null value input-handling for group in group - #11869
UI-Component: fix null value input-handling for group in group#11869iszmais wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
@iszmais I deliberately shifted the null check outside of isClientSideValueOk(). I know that for groups this is somewhat special, since are not sharing the same symbol, but could you find a solution that leaves this function (or the equivalent with _*) as is? Otherwise this would (to my knowledge) be the only case where null is checked inside this method. Kind regards, @thibsy (as UI coordinator)
|
@thibsy Thank you for your feedback. After your feedback I tested this for other inputs and came to the conclusion that this error occurs for every input in groups (not just other groups). Therefore, it's correct that there is currently no other value check that considers null, but its seems that this is indeed a bug, means actually should every check include this. The origin of the problem is that the group does not call the same validation method as the form itself, therefore, the validation inside the group diverges from the validation on the form layer. That shouldn't be the case. For me, the second solution seems better conceptionally since there are also inputs that dont allow Greetings, |
|
Hi @iszmais, You and I actually solved the Mantis issue that you mentioned with #11698. So if there is still an input left that does not handle But I am a little confused now, because you said
Which is exactly what we should have implemented in the PR above. Did you check this behaviour with the latest Thx for your clarification. Kind regards, |
|
@thibsy Thanks for your response! This may be the case. I guess I lost overview over the situation. However, I’m totally open that this might not be the desired solution. But something similar has to. Greetings, |
|
This is superseded by #11953 |
https://mantis.ilias.de/view.php?id=48017