Skip to content

Update PropelParamConverter.php #251

Closed
wants to merge 1 commit into from

3 participants

@ylazarov

Some Bundle can change the original route name in collection. This happen after I use jms/i18n-routing-bundle. This bundle change original route collection name with locale. Example: en__US__route_name.

FatalErrorException: Error: Call to a member function getOption() on a non-object in /var/www/symfony2/project/vendor/propel/propel-bundle/Propel/PropelBundle/Request/ParamConverter/PropelParamConverter.php line 99

@ylazarov ylazarov Update PropelParamConverter.php
Some Bundle can change the original route name in collection. This happen after I use jms/i18n-routing-bundle. This bundle change original route collection name with locale. Example: en__US__route_name.

FatalErrorException: Error: Call to a member function getOption() on a non-object in /var/www/symfony2/project/vendor/propel/propel-bundle/Propel/PropelBundle/Request/ParamConverter/PropelParamConverter.php line 99
4b43be4
@jaugustin
Propel member

@ylazarov could you add a unit test for your case and update the failing one ?

@havvg
Propel member
havvg commented Sep 29, 2014

Could you please rebase your commit and provide test for the changes?

@havvg havvg closed this Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.