Hey there,
in sfLoader.class.php, line 261, the directory to call module class from is set to
sfConfig::get('sf_app_dir').'/'.$configPath
For a validation (let's say of action someAction in module someModule) this code will find the validation file 'validate/someAction.yml', i.e. $configPath will be equal to 'modules/someModule/validate/someAction.yml'.
This is a bit ugly, since there exists a special variable for the model directory called sfConfig::get('sf_app_module_dir'). However it works as long as the module directory is not changed.
Problem: If the module directory path is changed (=sfConfig::set('sf_app_module_dir', 'another/directory/on/disk')) without modifying the apps directory path, Symfony doesn't find the module's validation files (someAction.yml) anymore.
Hence: the $configPath should get rid of its 'modules' prefix, and line 261 should be substituted by
sfConfig::get('sf_app_module_dir').'/'.$configPath
Or am I wrong?
Cheers
Manu