bugs

Should we always reproduce the bugs to verify the fixes ?

From time to time we get bugs on production that can be fixed by for example by changing a configuration, disabling some part of the logic, and such. I've argued with my manager that we should reproduce the bugs locally to ensure the fix works, and more importantly so developers and QA can include the check for these cases as part of th...

how to overcome IE bug when dynamically attaching div to body from script

UPDATE: the HTML was not well formed. This was causing the script to appear in inner div. Please ignore the question. IE ver<8 has a known bug (Internet explorer cannot display the page. Operation aborted) If a script tries to append something to upper level block: The bug is described here: Update: I rephrased the question and simp...

Good resources for developing a Bug tracking tool?

I am planning to write a bug tracking tool for a company. I haven't committed to the project yet, but I would like to know your thoughts. I am pretty good at C++ and am learning C# now. I know some Javascript as well. How much time would it take for developing a basic bug tracking tool? (With myself and a junior developer working on it)...

Hardest types of bugs to track?

What are some of the nastiest, most difficult bugs you have had to track and fix and why? I am both genuinely curious and knee deep in the process as we speak. So as they say - misery likes company. ...

.getElementById IE

Hi. I've got a JavaScript running 2 ".getElementById('').style" changes. Both work perfectly in FF, but the first one doesn't work in IE7. Appreciate all help :) First SourceCode: function ingen() { document.getElementById('merInfo1').style.display='none'; document.getElementById('merInfo2').style.display='none'; document....

Why does Firefox use the IE box model for input elements?

Try the following simple example: <html> <head> <style> div, input{ border: 1px solid #000; margin: 2px; padding: 3px; width: 100px; } </style> </head> <body> <div>div</div> <input value="input" /> </body> </html> Notice the div and the input gets different widths. In fact, the width of the input is 92px. For the input...

Value missing from form.fieldnames in ColdFusion

I must be losing my mind. <cfif cgi.request_method eq "POST"> <cfoutput> Form.fieldnames = #form.fieldnames#<br> structKeyList(form) = #structKeyList(form)# </cfoutput> </cfif> <form method="post" accept-charset="utf-8"> <input type="text" name="graduation_date" value="x"><br> <input type="text" name="foo" v...

Possible bug in ASP.NET MVC with form values being replaced.

I appear to be having a problem with ASP.NET MVC in that, if I have more than one form on a page which uses the same name in each one, but as different types (radio/hidden/etc), then, when the first form posts (I choose the 'Date' radio button for instance), if the form is re-rendered (say as part of the results page), I seem to have the...

jQuery Slide Toggle Not Working - Resolved

On the first click, it works as expected: the class is changed and the html content is changed from 'Show...' to 'Close...' the content area is expanded with the slideDown effect, Good so far. On the second click, ... the class changes the html content is changed from 'Close...' to 'Show...' The content area does NOT go away as e...

Does PHP's Oracle PDO hang on DELETE?

This hangs in Php (5.2.6-Win32 + Oracle10g) is it a bug, or I'm doing something fundamentally wrong? try { $conn = new PDO($DB,$USER,$PASSWORD); $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION ); //connected try { $conn->exec("DELETE FROM MY_TABLE"); echo "done"; ... Note: I don't know if this ...

Most expensive bug/defect you've seen.

What is the most expensive software bug / defect you've seen in practice. There are some famous cases like the Therac 25, but I'm interested to know what issues you've seen yourself or heard of directly. We all have "a friend who used to work at an old company" and would never admit to accidently charging peoples credit cards ourselves...

Workaround for the ImageList transparency bug?

If you add an PNG image to an ImageList control and use that ImageList with a ListView or TreeView in a Windows Forms (.Net 2.) application the icons shown in the ListView have a blue "halo" around them. Eg: Does anyone know a work around that allows you to add 32bit PNGs with an Alpha channel to an ImageList and retain the transpare...

How to change cursor position of wxRichTextCtrl in event handler?

I have a RichTextCtrl in my application, that has a handler for EVT_KEY_DOWN. The code that is executed is the following : def move_caret(self): pdb.set_trace() self.rich.GetCaret().Move((0,0)) self.Refresh() def onClick(self,event): self.move_caret() event.Skip() rich is my RichTextCtrl. Here is what I would ...

How many bugs is too many ?

I sometimes get frustrated at my work due to the perceived buggyness of my code. But I think I am producing no more, and probably less than most people. For example I have just finished developing a project that took 3 months where the testers found around 10 genuine bugs and probably 10 other non-bug changes (ie. can I change the color ...

Keypress event is triggered twice for a single ENTER button press in Windows CE

During development i have observed that certain PDAs with Windows CE and possibly Windows Mobile too are sending the Enter key twice in the key pressed event thus i execute twice the code that lies under the control's key press event for the return button. I suspect that this is a hardware bug and i would like to ask how you resolved it...

How to prevent 3px extra bottom padding on list items in IE7

I have a page where the infamous 3px extra vertical space (below each li element) is being rendered in IE7 on all my list items. I have a specific situation where I need text absolutely positioned within the li, so that its container can be set to a smaller width, & the text extends beyond the container. Here's the code I'm using: <styl...

Visual Studio 2008 HTML formatting - does it ever work?

It's another Visual Studio 2008 HTML formatting question...I think I have either found a bug in the infamously bad VS HTML formatting, or I'm doing something wrong. Here's what I'm doing: I remove all client side tags via: Tools -> Options -> Text Editor -> HTML -> Format -> Tag Specific options I then add b and span tags: I press...

Is there a bug in "tf add /recursive"?

I'm trying to add the following folder tree to TFS: C:\TFS\folder1 C:\TFS\folder1\folder2 C:\TFS\folder1\folder2\folder3 C:\TFS\folder1\folder2\folder3\test.txt In the above example the folder "C:\TFS" is a mapped TFS working folder. I issue the following commands from the console: cd C:\TFS tf add folder1 /recursive After this com...

Visual Studio design time and fixed-layout tables - your opinions

Hi guys, I'm about to submit a bug to Microsoft. The following html is displayed fine in a browser, but in VS designer it makes the entire page scrollable - as the table isn't clipped by the div: <div style="width: 800px; height: 100px; overflow: scroll;"> <table style="table-layout:fixed"> <tr> <td style="widt...

Bug in AlertView on iPhone?

I write a piece of code to "do something->show alert1->do something->show alert2". //do something UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Alert 1" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show]; [alert re...