Roundup Tracker - Issues

Issue 702294

classification
@template parameter not honored
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed rejected
:
: richard : richard
Priority: normal :

Created on 2003-03-12 16:23 by anonymous, last changed 2003-03-17 04:01 by richard.

Messages
msg720 Author: [hidden] (anonymous) Date: 2003-03-12 16:23
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.

msg721 Author: [hidden] (richard) Date: 2003-03-17 04:01
Logged In: YES 
user_id=6405

Dupe.
History
Date User Action Args
2003-03-12 16:23:17anonymouscreate