Re: [symfony-users] Re: Method option in sfPropelRoute not accepted
Then it has to be some other problem because this is documented functionality and I have used this before. Hmm... Is the route you posted really executed/used when you type in a URL that should invoke it? Check the log for that or post it here. Daniel Sent from my iPhone On Jul 14, 2010, at 3:38 PM, HAUSa > wrote: Doesn't work either, gets ignored as well On 14 jul, 13:37, Daniel Lohse wrote: http://www.symfony-project.org/reference/1_4/en/10- Routing#chapter_10... :) On 14.07.2010, at 13:20, HAUSa wrote: I got a feeling that my method option is ignored: advertisement_show: url: /:sf_culture/advertisement/show/:id/:slug/* class: sfPropelRoute options: { model: Advertisement, type: object, method: adsasdgas } param: { module: advertisement, action: show } requirements: sf_method: [get, post] sf_culture: (?:en|es|de|fr|nl) I gave it on purpose a name that doesn't exist in order to test it. Because I don't get an error screen, it confirms my theory that the method option is ignored. How can I set a method name from my AdvertisementPeer with which my object is picked? -- 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 -- 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 -- 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
Re: [symfony-users] Re: Method option in sfPropelRoute not accepted
Okay, answered too soon. Disregard my answer then. :) Glad it's working for you! Daniel Sent from my iPhone On Jul 14, 2010, at 3:41 PM, HAUSa > wrote: Ow now it does... hmmm weird. Thanks, it all works fine now! On 14 jul, 15:38, HAUSa wrote: Doesn't work either, gets ignored as well On 14 jul, 13:37, Daniel Lohse wrote: http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10 ... :) On 14.07.2010, at 13:20, HAUSa wrote: I got a feeling that my method option is ignored: advertisement_show: url: /:sf_culture/advertisement/show/:id/:slug/* class: sfPropelRoute options: { model: Advertisement, type: object, method: adsasdgas } param: { module: advertisement, action: show } requirements: sf_method: [get, post] sf_culture: (?:en|es|de|fr|nl) I gave it on purpose a name that doesn't exist in order to test it. Because I don't get an error screen, it confirms my theory that the method option is ignored. How can I set a method name from my AdvertisementPeer with which my object is picked? -- 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 -- 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 -- 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
[symfony-users] Re: Method option in sfPropelRoute not accepted
Ow now it does... hmmm weird. Thanks, it all works fine now! On 14 jul, 15:38, HAUSa wrote: > Doesn't work either, gets ignored as well > > On 14 jul, 13:37, Daniel Lohse wrote: > > >http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10... > > > :) > > > On 14.07.2010, at 13:20, HAUSa wrote: > > > > I got a feeling that my method option is ignored: > > > > advertisement_show: > > > url: /:sf_culture/advertisement/show/:id/:slug/* > > > class: sfPropelRoute > > > options: { model: Advertisement, type: object, method: adsasdgas } > > > param: { module: advertisement, action: show } > > > requirements: > > > sf_method: [get, post] > > > sf_culture: (?:en|es|de|fr|nl) > > > > I gave it on purpose a name that doesn't exist in order to test it. > > > Because I don't get an error screen, it confirms my theory that the > > > method option is ignored. > > > > How can I set a method name from my AdvertisementPeer with which my > > > object is picked? > > > > -- > > > 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 > > -- 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
[symfony-users] Re: Method option in sfPropelRoute not accepted
Doesn't work either, gets ignored as well On 14 jul, 13:37, Daniel Lohse wrote: > http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10... > > :) > > On 14.07.2010, at 13:20, HAUSa wrote: > > > I got a feeling that my method option is ignored: > > > advertisement_show: > > url: /:sf_culture/advertisement/show/:id/:slug/* > > class: sfPropelRoute > > options: { model: Advertisement, type: object, method: adsasdgas } > > param: { module: advertisement, action: show } > > requirements: > > sf_method: [get, post] > > sf_culture: (?:en|es|de|fr|nl) > > > I gave it on purpose a name that doesn't exist in order to test it. > > Because I don't get an error screen, it confirms my theory that the > > method option is ignored. > > > How can I set a method name from my AdvertisementPeer with which my > > object is picked? > > > -- > > 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 > > -- 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