You need to sign in to do that
Don't have an account?
Claiborne
Bug in Spring '14 - Will not process immediate="{!NOT(<variable>)}" in Command button tag
I have discovered a bug in the Spring 14 release in my sand box.
In the apex class used as the controller for the VF page I set a public Boolean variable called rightNow.
In the Visualforce page I have a command button <apex:commandButton value="Do It" action="{!doit}" immediate="{!NOT(rightNow)}" />. This has been working for several releases.
Click this button in Spring 14 generates an immediate system error.
If I do not use the "NOT" function it works fine.
This works - <apex:commandButton value="Do It" action="{!doit}" immediate="{!rightNow}" />
Adding another global variable notRightNow works as well
This works - <apex:commandButton value="Do It" action="{!doit}" immediate="{!notRightNow}" />
Please get this fixed.
In the apex class used as the controller for the VF page I set a public Boolean variable called rightNow.
In the Visualforce page I have a command button <apex:commandButton value="Do It" action="{!doit}" immediate="{!NOT(rightNow)}" />. This has been working for several releases.
Click this button in Spring 14 generates an immediate system error.
If I do not use the "NOT" function it works fine.
This works - <apex:commandButton value="Do It" action="{!doit}" immediate="{!rightNow}" />
Adding another global variable notRightNow works as well
This works - <apex:commandButton value="Do It" action="{!doit}" immediate="{!notRightNow}" />
Please get this fixed.
joshbirk
Thanks for posting this - it's a known issue and a fix is coming down the pipe.
AlejandroRaigon
You may track the status of this known issue at https://success.salesforce.com/issues_view?id=a1p30000000T37t.