Do you have a route for this action? I'm wondering if it's related to
something I've seen.

Also, is there any chance that $utente_id is being set somewhere as,
eg "4/4"? Maybe put
echo $utente_id
in your view to see if it's being set like that.

On Fri, Apr 10, 2009 at 7:53 AM, Ernesto <[email protected]> wrote:
>
> Hello.
>
> i have a view, located @ CakeROOT/applicazione/utenti/modifica/
> [utente_id]
>
> - "modifica" it's the italian equivalent of "edit"
> - "utente" it's the italian equivalent of "user"
>
> I'm working with a legacy DB. I can't fully respect Cake's
> conventions.
>
> This view contains a form, coded this way:
>
> echo $form->create("utente", array("url" => array("controller" =>
> "utenti", "action" => "modifica/$utente_id")));
>
> //form elements
>
> echo $form->end("Conferma");
>
> everything works fine but, if i voluntarily submit unvalid data for
> two times or more in a row i get this in browser's adress bar
>
> CakeROOT/applicazione/utenti/modifica/[utente_id]/[utente_id]
>
> ** note that the parameter utente_id is repeated two times. **
>
> that's not a problem in this view cause it has just one input
> parameter the second is ignored... but... why is that happening?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to