MantisBT - TestLink
View Issue Details
0001313TestLinkTest Specificationpublic2008-01-22 23:212008-11-07 19:47
tuergeist 
fman 
normalmajoralways
closedfixed 
 
1.8 Beta 1 
0001313: Search for TestCaseID without prefix causes an error
if you enter a unprefixed TestCaseID in the formfield next to "Logout"-Link, you'll get an error due to missing offset checking in

lib/functions/testcase.class.php - getInternalID() (line 1302ff)

in lib/functions/testcase.class.php - getInternalID() (line 1302ff)
after:
  $pieces=explode($glueCharacter,$stringID);

you should add
  if(count($pieces) != 2)
  {
    // throw error or sth else
  }
or sth else
No tags attached.
Issue History
2008-01-22 23:21tuergeistNew Issue
2008-01-22 23:33tuergeistNote Added: 0003001
2008-01-23 00:21fmanStatusnew => assigned
2008-01-23 00:21fmanAssigned To => fman
2008-01-23 00:22fmanNote Added: 0003007
2008-01-28 16:57fmanStatusassigned => resolved
2008-01-28 16:57fmanFixed in Version => next development version (1.8 Beta1)
2008-01-28 16:57fmanResolutionopen => fixed
2008-06-03 16:48mhavlatFixed in Versionnext development version (1.8 Beta1) => 1.8 Beta 1
2008-11-07 19:47mhavlatStatusresolved => closed

Notes
(0003001)
tuergeist   
2008-01-22 23:33   
using: SNAPSHOT-HEAD-2008-01-22.tar.bz2
(0003007)
fman   
2008-01-23 00:22   
thanks.
Attention: this development is not finished yet