Hello Drye,

On Monday 31 May 2010, Drye wrote:
...
> Following such a link will result in
> 
> Warning: [GetSprintCommand] sprint: must be a valid Sprint name
> (value=R 039 - Sprint )
> 
> If I go and manually fix the URL and replace the # with a %23, it
> works normally. (e.g.
>  http://ourtracserver.com/sprint/R%20039%20-%20Sprint%20%231)

Seems we missed some places where this needs to be quoted. I'm currently 
looking through the roadmap and some other templates where this could be 
an issue and will fix it for the next release. Until then, you can patch 
your agilo_roadmap.html using the attached patch.


Robert

-- 
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
Please support us by reviewing and voting on: 
http://userstories.com/products/8-agilo-for-scrum 
http://ohloh.net/p/agilo-scrum 
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
agile42 GmbH <http://www.agile42.com>.

To post to this group, send email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo
Index: agilo/scrum/sprint/templates/agilo_roadmap.html
===================================================================
--- agilo/scrum/sprint/templates/agilo_roadmap.html	(revision 2925)
+++ agilo/scrum/sprint/templates/agilo_roadmap.html	(working copy)
@@ -13,7 +13,7 @@
     <div py:if="may_edit_sprint or sprints.get(milestone.name)" class="sprints">
       <form py:if="may_edit_sprint" 
             name="addnew_${milestone.name.replace(' ','_')}" 
-            action="${sprint_url}/add/${milestone.name}" 
+            action="${href.sprint('add', milestone.name)}" 
             method="get">
 		<div class="buttons">
         	<input type="submit" 
@@ -25,7 +25,7 @@
         <ul>
           <li class="sprint" py:for="sprint, sprint_stats in sprints[milestone.name]">
             <div class="info">
-              <h3>Sprint: <a href="${sprint_url}/${sprint.name}"><em>${sprint.name}</em></a></h3>
+              <h3>Sprint: <a href="${href.sprint(sprint.name)}"><em>${sprint.name}</em></a></h3>
               <p class="date">
               <py:choose>
                 <span py:when="sprint.is_closed">

Reply via email to