On 12.01.2012, at 17:37, Pankaj Khare wrote: > We have a working Agavi application for 2 years and suddenly the rd-> > getparameter() has stopping passing the variable POST variables. We still can > access the variables through the $_REQUEST but then we bypass all the > validations.
If in index.php instead of AgaviContext::getInstance()->getController()->dispatch(); you do var_dump(AgaviContext::getInstance()->getRequest()->getRequestData()->getParameters()); die(); and then call the page with a query string parameter (e.g. http://yoursite/?foo=bar, so there is a GET parameter in the URI), what do you get? In general, things don't magically stop working. I'm suspecting maybe you overwrote the validation mode to be strict in production and you have no validators set up anywhere, or something in your environment (e.g. PHP version etc) changed to cause this... > Tried to check the config files factories.xml where we have the setting > <ae:parameter name="mode">conditional</ae:parameter> If you use that setting, then actions that have no validators defined can simply access any request data (this mode is intended for development; mode "strict" is the default). David
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
