Closed Bug 136723 Opened 23 years ago Closed 23 years ago

GetBugLink subroutine can hang under certain circumstances

Categories

(Bugzilla :: Bugzilla-General, defect)

2.14.1
x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 86300

People

(Reporter: mipett, Assigned: justdave)

Details

I am running Bugzilla on a Windows NT, unfortunately, and therefore have done some porting changes to the codebase in order to get it working. The issue I have run accross is that if you put a message similar to the following: This is a test if I put bug 1955 bugzilla may hang. and bug 1955 does not exist, bugzilla hangs. I have only tested this under Windows NT. I have found that if you put a check in the GetBugLink subroutine in the globals.pl file this problem can be avoided. The fix that I used is as follows: snippet of code from GetBugLink subroutine: # Get this bug's info from the SQL Database SendSQL("select bugs.bug_status, resolution, short_desc, groupset from bugs where bugs.bug_id = $bug_num"); # mpettenato 4/10/2002 # added this check just in case # the bug number referenced here # does not exist in our database. # return the $link_text if (!MoreSQLData()) { PopGlobalSQLState(); return $link_text; }
*** This bug has been marked as a duplicate of 86300 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.