Menu

Bug Doesn't Exist

Help
2004-06-03
2004-06-03
  • David Mytton

    David Mytton - 2004-06-03

    Hi,

    I'm using the CVS version on my site because I didn't want to be using an extremely old, but stable version. Everything seems to be working fine except this one bit, which unfortunately is pretty major.

    I enter bugs into the database fine. And I can view them. However, if I go to update them, add a comment, or alter anything, the changes are made (an e-mail is sent out) and then immediately I get a 'That bug does not exist' error. However, it is still shown on the index page and is still in the database just as before. Yet whenever I try and click on to view it, I get 'That bug does not exist'.

    I've looked at the PHP and commented out this:

    if (!ereg('^[0-9]+$',$bugid) or !$row = $db->getRow(sprintf($QUERY['bug-show-bug'], $bugid,    $restricted_projects)))
        {
            //show_text($STRING['bugbadnum'],true);
            //return;
        }

    This then returns an SQL error:

    DB Error: unknown error
    SELECT tracker_bug.status_id, tracker_bug.bug_id FROM tracker_bug, tracker_bug_dependency WHERE bug_id = 2 [nativecode=1052 ** Column: 'bug_id' in where clause is ambiguous]

    I can't figure out what the problem is from here. Is this fixed in a newer CVS version (I can't see due to the SF CVS problems) or can you help?

    Thanks,

    David Mytton

     
    • David Mytton

      David Mytton - 2004-06-03

      I found the problem. Related to my own templating changes.

      David

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.