Exception while validating rule: An expression cannot have the same measure with and without the old
Hello,
While patching a domain, the log displayed this exception:
Started task : installRuleCfgValidation(com.retek.ride.installer.tasks.PostRegistrationRuleValidation)
Task Begun: 14:22:32.
Initializing Rpas Jni for domain at /u01/ipcoe/environments/ipcoe/domains/itemplan.
Validating rule groups for solution itemplan.
itemplan contains the following errors.
Error: RPAS exception
Exception Type: IllegalParse: An expression cannot have the same measure with and without the old modifier on the RHS.
Expression: NoTchAftLndBrDel = if(NoTchAftLndBr.old != 0 && NoTchAftLndBr == 0, NoTchAftLndBr.old, if(NoTchAftLndBr.old == 0 && NoTchAftLndBr != 0, 0, ignore))
Task Ended: 14:22:36.
Ended task : installRuleCfgValidation(com.retek.ride.installer.tasks.PostRegistrationRuleValidation)
Could you confirm if this is a showstopper issue?
The only workaround we could think of is having a cloned measure e.g. NoTchAftLndBr2 and put the old value inside it, before using it in the main expression.
0