Closed Bug 1325990 Opened 8 years ago Closed 6 years ago

Alaska Air's Flight Status page is not submitting how the server expects it to

Categories

(Web Compatibility :: Site Reports, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bytesized, Assigned: adamopenweb)

References

()

Details

(Whiteboard: [sitewait])

To Reproduce: (tested Tuesday, December 27 2016)
 1. Navigate to: https://www.alaskaair.com/content/cargo/cargo-home.aspx
 2. Type Flight Number in box. I have tried 356 (Actual Flight) and 111 (Flight I made up)
 3. Hit Enter or Click "GO"

Occasionally, the page seems to just refresh, but usually I see what looks like an ASP.NET error page starting with this:

> Server Error in '/' Application.
> 
> Runtime Error
> Description: An application error occurred on the server.
> The current custom error settings for this application prevent
> the details of the application error from being viewed remotely
> (for security reasons). It could, however, be viewed by browsers
> running on the local server machine.

followed by instructions for how to change the "Web.Config Configuration File" to show errors.

I have tried this on Safari and it shows the flight status that I expect. I have been told that it works fine on Chrome as well.
Hi Jessica, could you please help take a look at this?
Flags: needinfo?(jjong)
Priority: -- → P2
I get this message after clicking the "GO" button:

> ReferenceError: event is not defined    cargo-home.aspx:235:5

And here is the source:

> $(document).on("click", "#_Go", function(){
>   event.preventDefault();
>   var newURL = "https://www.alaskaair.com/flightstatus/submit/"+$("#_depDateList option:selected").val()+"/"+$("#_fltBox").val();
>   console.log(newURL);
>   window.location.href = newURL;
> });

We do not support window.event and it's non-standard, so it's recommended to use the first parameter of the callback function for the event object, or something like this:

> $(document).on("click", "#_Go", function(e){
>   var evt = e || window.event
>   evt.preventDefault();
>   ...
Flags: needinfo?(jjong)
Thanks Jessica. :) 
Tech Evangelism sounds a better component than HTML:Form Submission.
Component: HTML: Form Submission → Desktop
Priority: P2 → --
Product: Core → Tech Evangelism
Alaska airline has github account: https://github.com/AlaskaAirlines and maybe Bryce https://github.com/Bryce-L could help?
The contact US page doesn't seems to work for webpage tech issue.
Whiteboard: [needscontact]
I decided to report to them using the website feedback form first. Switching to sitewait.
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [needscontact] → [sitewait]
I think this page has been updated since this report.

Now to check flight status you have to navigate to:
https://www.alaskaair.com/flightstatus/

When I type in flight 356, the page returns with a flight status and no issues.

Closing as worksforme. Please reopen if you can still reproduce this issue. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.