MantisBT - TestLink
View Issue Details
0001977TestLinkRequirement Managementpublic2009-01-13 14:472009-01-20 05:19
amitkhullar 
fman 
normalmajoralways
closedfixed 
1.8 RC 2 
1.8 RC 3 
0001977: Incorrect variable name in form submit of resultsReq.tpl file
The code snippet below used the variable name idSRS to pass the requirement Spec id to the page on form submit when the combo box value changes in report but the resultsReq.php page is expecting a variable req_spec_id from session request.
    $args->req_spec_id = isset($_REQUEST['req_spec_id']) ? $_REQUEST['req_spec_id'] : null;

-----------------------------------------------------------Line 40
          <select name="idSRS" onchange="form.submit()">
          {html_options options=$gui->reqSpecSet selected=$gui->req_spec_id}
      </select></td></tr>
------------------------------------------------------------ replace with below
          <select name="req_spec_id" onchange="form.submit()">
          {html_options options=$gui->reqSpecSet selected=$gui->req_spec_id}
      </select></td></tr>
------------------------------------------------------------
No tags attached.
zip resultsReqs.zip (1,515) 2009-01-14 21:02
http://mantis.testlink.org/file_download.php?file_id=720&type=bug
Issue History
2009-01-13 14:47amitkhullarNew Issue
2009-01-14 00:18fmanNote Added: 0004996
2009-01-14 00:18fmanStatusnew => assigned
2009-01-14 00:18fmanAssigned To => fman
2009-01-14 00:18fmanStatusassigned => feedback
2009-01-14 12:48amitkhullarNote Added: 0004999
2009-01-14 21:00fmanNote Added: 0005002
2009-01-14 21:02fmanFile Added: resultsReqs.zip
2009-01-16 19:21fmanStatusfeedback => resolved
2009-01-16 19:21fmanFixed in Version => next development 1.8 RC3
2009-01-16 19:21fmanResolutionopen => fixed
2009-01-20 05:19mhavlatStatusresolved => closed

Notes
(0004996)
fman   
2009-01-14 00:18   
get last code from CVS and retest
(0004999)
amitkhullar   
2009-01-14 12:48   
I have checked it , it still shows idSRS as variable name and thus doesnt work.

Amit
(0005002)
fman   
2009-01-14 21:00   
OK, fixed