Roundup Tracker - Issues

Message720

Author anonymous
Recipients
Date 2003-03-12.16:23:17
Message-id
In-reply-to
I am creating a second form (issue.fields) for the entry of other 
less
used data in the sysadmin tracker. The URL is:

    
http://localhost:8080/sysadmin/issue40?@pagesize=50&@startwith=0&@template=
fields

When 
I submit the data, I am taken back to the main issue form
with 
URL:

    
http://localhost:8080/sysadmin/issue40?@ok_message=issue%2040%20startdate%2
0edited%20ok
 
 
that displays using the issue.item template when I really want 
to stay
on the second form.

The layout of the second 
form is:
<form method="POST" onSubmit="return 
submit_once()"
      enctype="multipart/form-data" 
tal:condition="context/is_edit_ok">

<input 
type="hidden" name="@template" value="fields">
<input 
type="hidden" name="@required" 
value="title,priority">
<table class=form>
...
<tr>
   
<td colspan=3>
   <tal:block tal:condition="context/id">
     
<input type="hidden" name=":action" value="edit">
     <input 
type="submit" name="submit" value="Submit Changes">
   
</tal:block>
   </td>
</table>
</form>

Shouldn't 
that result in the @template=fields being appended to 
the
returned URL? Which would keep me on the second 
form.

Then Richard said:
Yes, I think it's reasonable 
that use the template specified - this is a bug.

Results in this 
bug report.

History
Date User Action Args
2009-02-03 14:20:18adminlinkissue702294 messages
2009-02-03 14:20:18admincreate