On 3. juni. 2009, at 05.39, prlawrence wrote:

> Now I enter 'barteam' as the team name, and "Team Bar" as the team
> description.  I don't add a team image.  I click the create team
> button:
> nnn.nn.n.nn - - [02/Jun/2009:22:27:08 -0500] "POST /teams HTTP/1.1"
> 200 2695 "http://gitorious.domain.com/teams/new"; "Mozilla/5.0
> (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316
> Firefox/3.0.10"
>
> I am not redirected to the new team page; the form remains the same!
> In fact, here is the page source that results:
> ...
> <form action="/+barteam" class="edit_group" enctype="multipart/form-
> data" id="edit_group_4" method="post"><div style="margin:0;padding:
> 0"><input name="_method" type="hidden" value="put" /></div>  <p>
>    <label for="group_name">Team name</label>:<br />
>    <input id="group_name" name="group[name]" size="30" type="text"
> value="barteam" />  </p>


Now, this is a bit strange; it seems the team was actually created.  
The form's action is /+barteam with HTTP PUT (the hidden input named  
_method with the value put mimicks HTTP's PUT - which in REST speak  
means update). I think if you visit the Team's page:

        http://<your-host>/+barteam

you'll see the team's web page. In order to investigate this further,  
your Rails log (<gitorious_root>/log/<rails_env>.log) would be of  
great help as it gives a little more details about what's happening  
under the hood…

Regards,
- Marius


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" 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/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to