Thanks Fabien, yes that's fixed it. I didn't see your previous email
until now, so have not created a ticket for it.

Thanks for your help,
Andy

On Sep 11, 3:59 pm, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> I think it's fixed now.
>
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
> arri...@gmail.com wrote:
> > 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