AirRegtStruct[...].Squadron' is null or not an object
Posted: Thu 12 Nov 2009 10:53 am
~S~ and I apologize for all the questions that are probably easy to fix for an advanced user.
So I went into compatibility mode and reinforced the Axis side - no issues at all. Went to the Allied Side (after adding 4 x M5b Spits) and it was giving me the below error when I went to the AlliedHQ main sector to direct the reinforcements to an airbase.
I confirmed the issue was the addition of reinforcements by deleting the reinforcement out of the "Resupply_Replacements" table...reloading the page (which worked fine)...and then added some GROUND troops for something different.
Same issue developed and went away by deleting the reinforcement from the table. I tried troubleshooting this in the code and checked the AirRegimentStructure table, and looked in the Airforce_Units Table filtered for New Guinea...but I just don't understand the associations yet...and have not dug into the code enough where I understand what is pulling from where, and where all the dependencies are.
Below is the IE8 error - I did try compatibility mode on and off this time.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 12 Nov 2009 14:37:32 UTC
Message: 'AirRegtStruct[...].Squadron' is null or not an object
Line: 10593
Char: 4
Code: 0
URI: http://xxxxx/Scripts/MP-Head.js
So I went into compatibility mode and reinforced the Axis side - no issues at all. Went to the Allied Side (after adding 4 x M5b Spits) and it was giving me the below error when I went to the AlliedHQ main sector to direct the reinforcements to an airbase.
I confirmed the issue was the addition of reinforcements by deleting the reinforcement out of the "Resupply_Replacements" table...reloading the page (which worked fine)...and then added some GROUND troops for something different.
Same issue developed and went away by deleting the reinforcement from the table. I tried troubleshooting this in the code and checked the AirRegimentStructure table, and looked in the Airforce_Units Table filtered for New Guinea...but I just don't understand the associations yet...and have not dug into the code enough where I understand what is pulling from where, and where all the dependencies are.
Below is the IE8 error - I did try compatibility mode on and off this time.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 12 Nov 2009 14:37:32 UTC
Message: 'AirRegtStruct[...].Squadron' is null or not an object
Line: 10593
Char: 4
Code: 0
URI: http://xxxxx/Scripts/MP-Head.js