i think this might be related to the recent routing mods - for more
info, our cache is still enabled for this. Not sure if that would
affect it.

On Sep 10, 9:53 pm, "arri...@gmail.com" <arri...@gmail.com> wrote:
> hi,
>
> Using 1.3 branch, the admin generator (for propel at least) is
> currently broken. see (snipped) stack trace below. Problem is
> doConvertObjectToArray() in sfPropelRoute class.
>
> ...
> try
> {
>         $method = 'get'.call_user_func(array($className,
> 'translateFieldName'), $variable, BasePeer::TYPE_FIELDNAME,
> BasePeer::TYPE_PHPNAME);}
>
> ...
>
> $classname is the object class and not the Peer class, so
> translateFieldName fails.
>
> Appending "Peer" to $classname before the call resolves the issue for
> me, but no idea if this is 'correct' fix!
>
> Thanks,
> Andy
>
> # at sfOutputEscaperGetterDecorator->get()
> in SF_ROOT_DIR\lib\vendor\symfony\lib\plugins\sfPropelPlugin\lib
> \routing\sfPropelRoute.class.php line 110 ...
>
>        107.         $method = 'get'.sfInflector::camelize($variable);
>        108.       }
>        109.
>        110.       $parameters[$variable] = $object->$method();
>        111.     }
>        112.
>        113.     return $parameters;
>
> # at sfPropelRoute->doConvertObjectToArray(object
> ('sfOutputEscaperObjectDecorator'))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\routing\sfObjectRoute.class.php
> line 214 ...
>
>        211.       $parameters = array();
>        212.     }
>        213.
>        214.     return array_merge($parameters, 
> $this->doConvertObjectToArray($object));
>
>        215.   }
>        216.
>        217.   protected function doConvertObjectToArray($object)
>
> # at sfObjectRoute->convertObjectToArray(array('sf_subject' => object
> ('sfOutputEscaperObjectDecorator')))
> in SF_ROOT_DIR\lib\vendor\symfony\lib\routing\sfObjectRoute.class.php
> line 81 ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to 
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to