MantisBT - TestLink
View Issue Details
0004574TestLinkRequirement Managementpublic2011-06-05 18:082014-08-19 19:42
kinow 
Julian 
normalmajoralways
closedfixed 
2.0 Alpha 2 
2.0 Alpha 3 
mysql Ver 14.14 Distrib 5.1.41, for Win32 (ia32)
Mozilla Firefox 4.0
PHP 5.2
0004574: Wrong redirection page in edit requirements page on cancel
If you start editing a requirement and click on cancel you are redirected to the a page that shows the following message: Your search delivered no results!

I found this bug during the tests for TestLink 2.0 (Buenos Aires), more exactly while I was executing test TL-274 - Do not update tree after every operation. However I believe this issue is not associated to the update tree feature, so I didn't link the test case in bplace TestLink with this issue (let me know if what I did was wrong, so I will add this issue to the test case in bplace TestLink and it won't happen again).
1. View a Requirement
2. Click on Edit
3. Click on Cancel
For what it is worth, here is the equivalent URLs in my machine for my steps to reproduce:

1. View a Requirement

http://localhost/testlink-ga-testlink-code/lib/requirements/reqView.php?item=requirement&tproject_id=2&requirement_id=12& [^]

2. Click on Edit

http://localhost/testlink-ga-testlink-code/lib/requirements/reqEdit.php [^]

3. Click on Cancel

http://localhost/testlink-ga-testlink-code/lib/requirements/reqSpecView.php?tproject_id=2&req_spec_id= [^]
No tags attached.
png 005.PNG (37,144) 2011-06-05 18:08
http://mantis.testlink.org/file_download.php?file_id=2388&type=bug
png
Issue History
2011-06-05 18:08kinowNew Issue
2011-06-05 18:08kinowFile Added: 005.PNG
2011-06-06 09:49JulianNote Added: 0015150
2011-06-06 09:49JulianStatusnew => resolved
2011-06-06 09:49JulianFixed in Version => 2.0 Alpha 3
2011-06-06 09:49JulianResolutionopen => fixed
2011-06-06 09:49JulianAssigned To => Julian
2011-06-06 09:49JulianProduct Version2.0 (planned) => 2.0 Alpha 2
2011-06-06 09:53JulianNote Added: 0015151
2014-08-19 19:42fmanStatusresolved => closed

Notes
(0015150)
Julian   
2011-06-06 09:49   
http://gitorious.org/testlink-ga/testlink-code/commit/2ec3f4303905739795e1ddd42da848cee01c6a25 [^]

Thanks for the report.
(0015151)
Julian   
2011-06-06 09:53   
Mondays...
Removed debug code and renamed view action.

http://gitorious.org/testlink-ga/testlink-code/commit/a73408bd66990efd73a87876820cd88848f2d7ff [^]