Hello everyone! I am testing the Jobeet application but a error is making me sad. The error is: not ok 2 - last request threw an uncaught exception InvalidArgumentException: The /:sf_culture/affiliate/:id/ wait.:sf_format route has some missing mandatory parameters (:id)
The problem is that in my routing there is no ID for affiliate! Look: affiliate: class: sfPropelRouteCollection options: model: JobeetAffiliate actions: [new, create] object_actions: { wait: get } prefix_path: /:sf_culture/affiliate category: url: /:sf_culture/category/:slug.:sf_format class: sfPropelRoute param: { module: category, action: show, sf_format: html } options: { model: JobeetCategory, type: object } requirements: sf_format: (?:html|atom) sf_culture: (?:fr|en) job_search: url: /:sf_culture/search param: { module: job, action: search } requirements: sf_culture: (?:fr|en) job: class: sfPropelRouteCollection options: { model: JobeetJob, column: token, object_actions: { publish: put, extend: put }, prefix_path: /:sf_culture/job } requirements: { token: \w+, sf_culture: (?:fr|en) } job_show_user: url: /:sf_culture/job/:company_slug/:location_slug/:id/:position_ slug class: sfPropelRoute options: model: JobeetJob type: object method_for_criteria: doSelectActive param: { module: job, action: show } requirements: id: \d+ sf_method: [get] sf_culture: (?:fr|en) homepage: url: / param: { module: job, action: index } # default rules #default_index: # url: /:module # param: { action: index } #default: # url: /:module/:action/* api_jobs: url: /api/:token/jobs.:sf_format class: sfPropelRoute param: { module: api, action: list } options: { model: JobeetJob, type: list, method: getForToken } requirements: sf_format: (?:xml|json|yaml) localized_homepage: url: /:sf_culture/ param: { module: job, action: index } requirements: sf_culture: (?:fr|en) ******************************* Does anyone, please, help me with that?! Thanks! Best Regards! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---