CookieStorage getVar has new behavior

Hi guys,

Because of my many mistakes in the previous emails about this I decided to resend it with the correct title and the correct content.

A word of warning if you upgrade from 3.5.0 to 3.5.1

The CookieStorage.getVar() has changed. In the passed if you call cookieStorage.getVar(‘aVarname’) without setting a default value, a blank default was assumed.

In the present version if the aVarname was not set, the error: ‘The key you requested: aVarname does not exist’ will be thrown.

I am not sure if this was the intended behavior as the hint for default still states: hint=“The default value to set. If not used, a blank is returned.”

I have not updated the CookieStorage because of this since I have too many places that actually rely on this.

We reverted this back to what it was Tom for 3.5.2 release coming in the next few days.

I think we will leave this as is until 4.0 where we will need to do a compatiblity on it.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano