Print Page - [Fixed] Batch removal of planes from leasing fails
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: Chavaquiah on November 03, 2008, 09:12:40 pm
Title: [Fixed] Batch removal of planes from leasing fails
Post by: Chavaquiah on November 03, 2008, 09:12:40 pm
Removing planes from the leasing market does not work unless it's done one by one. Selecting a few at a time and using the "Remove from lease" button results in a SQL error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/airlinemogul.com/httpdocs/airlinemogul/aircraft_market.php on line 691 This on top of a previously reported error where lease conditions cannot be changes:
Putting plane up for public lease. Unknown column 'lease_to' in 'field list' There was a problem when updating the lease terms.
Happening in World 14, Airline 8585.
Title: Re: Batch removal of planes from leasing fails
Post by: Air Elbonia on November 04, 2008, 02:27:04 am
I think i've fixed the latter, the former... should at a bare minimum provide a slightly more descriptive error message (which will help me fix it properly).
Title: Re: Batch removal of planes from leasing fails
Post by: Chavaquiah on November 04, 2008, 07:41:05 am
OK, there is some more information now. Also notice how, on the second step, a/c types are not displayed.
Oh, BTW, there seems to have been a regression on the left navigation bar. Clicking both DOC and Airline Value take us to the finance screen instead ot view routes and rankings, as they used to these last few days.
Title: Re: Batch removal of planes from leasing fails
Post by: StephenM on November 04, 2008, 11:24:42 am
Will made a change to that file, it may have been an older version that he changed.
Title: Re: Batch removal of planes from leasing fails
Post by: Chavaquiah on November 04, 2008, 11:52:38 am
Hint: Version Control System. ;)
Title: Re: Batch removal of planes from leasing fails
Post by: Air Elbonia on November 04, 2008, 11:59:52 am
we're verifying a version control system install..
anyways, stephen, that's the most recent version (all i did was make it display the detail of the error).
I'll see what i can do to fix this, if stephen hasn't, after work today.
Title: Re: Batch removal of planes from leasing fails
Post by: Chavaquiah on November 04, 2008, 12:16:48 pm
anyways, stephen, that's the most recent version (all i did was make it display the detail of the error).
Sorry for the confusion but my last comment was about the "Quick stat" panel (which I assume is an include). Somewhat unrelated to the mass removal bug.
Title: Re: Batch removal of planes from leasing fails
Post by: MrOrange on November 04, 2008, 01:13:26 pm
anyways, stephen, that's the most recent version (all i did was make it display the detail of the error).
Sorry for the confusion but my last comment was about the "Quick stat" panel (which I assume is an include). Somewhat unrelated to the mass removal bug.
Yeah, I noticed (and re-updated) that one too after some user requests. See, we do listen to user input :P
Now, Will, get that Version Control System going ;)
Title: Re: Batch removal of planes from leasing fails
Post by: StephenM on November 04, 2008, 02:50:34 pm