#97079Impossible to have variants based on the state of the current element
Description
Form elements are represented by PHP objects, which hold some state, which can be modified during runtime.
However it is impossible to access this state in a variant condition, because the instance of the current element is not passed to the expression language evaluation.
For such use case to work properly, the API limitation on ExpressionLanguageResolver that variables are are only hold in the Resolver object must be lifted.
Reviews 2
History 313
-
Gerrit Code Review pushed patch set 1 for main to change 73764 status
NewUnder Review 03/02/22, 10:14 -
Gerrit Code Review pushed patch set 2 for main to change 73764 03/02/22, 11:09
-
Gerrit Code Review pushed patch set 3 for main to change 73764 03/02/22, 11:09
-
Gerrit Code Review pushed patch set 4 for main to change 73764 03/07/22, 15:35
-
Gerrit Code Review pushed patch set 5 for main to change 73764 06/10/22, 11:27
-
Simon Schaufelberger commented 07/07/22, 00:47
-
Gerrit Code Review pushed patch set 6 for main to change 73764 05/03/23, 09:20
-
Gerrit Code Review pushed patch set 7 for main to change 73764 07/17/23, 09:06
-
Gerrit Code Review pushed patch set 8 for main to change 73764 07/17/23, 09:24
-
Gerrit Code Review pushed patch set 9 for main to change 73764 07/17/23, 22:17
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 80055 07/18/23, 08:29
-
Helmut Hummel commented and changed status
Under ReviewResolved done0 %100 % 07/18/23, 08:30Applied in changeset commit:561c118b60fab3fc75e92a6ba331eeac72a21ab4.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 12:45
Helmut, which practical usecase do you have for this change? Why do you want to change the state? I have no idea how to test this patch.