Good dear group:
I am writing to see if someone has this same error occurred and has
solved, or if they are aware of it.

Problem description:
 For reasons of replicate Master - Master, which is necessary for my
system the identifier for each table it must be a varchar to type
"name_value" Zera_3 after generating modules to generate-admin, when I
give a save or update to an item, I get the error, let them then gave
me this error even for a show, for an edit, for each share of the
module, with the Xdebug I realized that the problem was that
routingColection generated for each module, and as an alternative, we
create a new routing for every action I leave an example here too with
sfGuardUser for
edit action.

routing.yml:
sf_guard_user_edit:
  url: /sf_guard_user/:id/edit
  class: sfDoctrineRoute
  options:
    model:        sfGuardUser
    module:       sfGuardUser
    type:         object
    prefix_path:  sf_guard_user
    column:       id
  param: { module: sfGuardUser, action: edit}

Error:
Type: 404 | Not Found | sfError404Exception
Action "sf_guard_user/Zera_1" does not exist.
stack trace

    * at ()
      in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
\sfController.class.php line 202 ...
             199.         $this->dispatcher->notify(new sfEvent($this,
'application.log', array(sprintf('Action "%s/%s" does not exist',
$moduleName, $actionName))));
             200.       }
             201.
             202.       throw new sfError404Exception(sprintf('Action
"%s/%s" does not exist.', $moduleName, $actionName));
             203.     }
             204.
             205.     // create an instance of the action
    * at sfController->forward('sf_guard_user', 'Zera_1')
      in SF_ROOT_DIR\lib\vendor\symfony\lib\controller
\sfFrontWebController.class.php line 48 ...
              45.       }
              46.
              47.       // make the first request
              48.       $this->forward($moduleName, $actionName);
              49.     }
              50.     catch (sfException $e)
              51.     {
    * at sfFrontWebController->dispatch()
      in SF_ROOT_DIR\lib\vendor\symfony\lib\util\sfContext.class.php
line 159 ...
             156.    */
             157.   public function dispatch()
             158.   {
             159.     $this->getController()->dispatch();
             160.   }
             161.
             162.   /**
    * at sfContext->dispatch()
      in SF_ROOT_DIR\web\administracion_dev.php line 13 ...
              10. require_once(dirname(__FILE__).'/../config/
ProjectConfiguration.class.php');
              11.
              12. $configuration =
ProjectConfiguration::getApplicationConfiguration('administracion',
'dev', true);
              13. sfContext::createInstance($configuration)-
>dispatch();

Greetings Rolian.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to