0

When a non-licensed user clicks on the "New Case" link on the Front Page of FogBugz they get a page for entering a new case. After the user chooses from the projects in the "Projects" drop down list the "Area" drop down list does not change to the appropriate list of areas. It doesn't change at all from the default list.

Is there a fix for this?

flag
We are using Microsoft SQL Server 2005 with FogBugz Version 8.4.90. – Megan Oertel May 17 2011 at 16:07

2 Answers

1

That's definitely a bug. Thanks for reporting it!

This has already been fixed and will be going out in the next release of FogBugz.

To get things working in the meantime, you can add the following line of JavaScript to the SetupFixForProjectMapping function inside of [your FogBugz]\Website\bugedit.js:

function SetupFixForProjectMapping()
{
    if(!DB.FixFor || !document.formWithProject.ixFixFor) return;
    ...
}

That function is defined near line 1307 inside of bugedit.js.

link|flag
Thanks for getting back to me. This didn't do the trick. We restarted the web server software and it still didn't work. Can you suggest something else? – Megan Oertel May 18 2011 at 19:39
Hmm...that should have worked. You might also need to clear your browser's cache to make sure it grabs the updated version of bugedit.js. Can you give that a shot? – db May 19 2011 at 20:01
0

I tried clearing my browser caches and trying again and it made no difference. Here is the function that I modified based on your instructions. Can you confirm that there's nothing wrong with it?

function SetupFixForProjectMapping() { sNoChangeFixFor = document.formWithProject.ixFixFor.getAttribute('sNoChangeFixFor'); ixNoChangeFixFor = document.formWithProject.ixFixFor.getAttribute('ixNoChangeFixFor');

if (!DB.FixFor || !document.formWithProject.ixFixFor) return;
rgFixForProject = DB.FixFor.select();
rgFixForProject.foreach(function(_) {
    _.ix = _.ixFixFor;
    _.s = _.sCTZFixForVersionFromUTC;
    _.ixP = _.ixProject;
    if (IsNull(_.ixP))
        _.ixP = -1;
});

}

The line in red (hopefully in red on your system) is the only line I modified. Prior to my modifying the line, this is what it was:

if (!DB.FixFor) return;

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.