After the migration of my first project, I have become the owner of the mess, awesome. I’m trying to convince the manager to let me scrap it and rewrite it.
I’m currently fixing a bug that has been there for…ever. Here’s what I run into trying to find the source of the bug.
[ASP Page] 805 lines; last updated in 2003! lol.
If (isempty(postavailable)) then
postavailable = “true”
If (postavailable = “true”) then
postavailable = true
postavailable = false
[randomly spread through the code, more than 50 times]
If (postavailable) then
//set variable to a value, each time a different variable…
//set a variable to ” “