You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In test-mode, an attempt is made to give function names deterministic IDs. With the ID calculation being based on the stacktrace, there are scenarios where the same ID is providing for differing functions, the practical impact of which, can be "User clicks button B, Lift reacts as if user clicked button A".
Currently the only way to disable this test feature is to wrap code in S.disableTestFunc which can be impractical if required more than a few times. More configuration of this behaviour is desired. (Example, disable completely, disable for particular snippet/request.)
The text was updated successfully, but these errors were encountered:
Oh hi @farmdawgnation. Yes, I am. I submitted the patch that provides LiftRules.funcNameGenerator. I think this issue here being open is an oversight. I must've forgotten to close it after the others patches got accepted. Sorry about that! Closing...
https://groups.google.com/forum/?fromgroups=#!topic/liftweb/HEUUXxPPkRs
In test-mode, an attempt is made to give function names deterministic IDs. With the ID calculation being based on the stacktrace, there are scenarios where the same ID is providing for differing functions, the practical impact of which, can be "User clicks button B, Lift reacts as if user clicked button A".
Currently the only way to disable this test feature is to wrap code in
S.disableTestFunc
which can be impractical if required more than a few times. More configuration of this behaviour is desired. (Example, disable completely, disable for particular snippet/request.)The text was updated successfully, but these errors were encountered: