Ticket #1640 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

tests require dmsolutions login

Reported by: euzuro Owned by: madair
Priority: critical Milestone: 2.7 Release
Component: tests Version: 2.6
Keywords: Cc:
State: Complete

Description

apparently only seems to occur on ie7

Attachments

MGtest_auth.patch Download (2.0 KB) - added by madair 5 years ago.

Change History

Changed 5 years ago by pagameba

  • owner changed from crschmidt to madair

I saw this too. I was able to reproduce it at first, but then it stopped challenging me and I can't get it to do it again. The server is not supposed to require authentication for tile access, and it doesn't seem to be needed for the tests to pass when I did get challenged.

We'll try to figure this one out - reassigning to Mike :)

Changed 5 years ago by euzuro

thanks for getting on this, paul. appreciated.

Changed 5 years ago by madair

Changed 5 years ago by madair

  • state changed from Needs More Work to Review

the attached patch seems to fix the problem, at least for the test suite. I was testing with IE6.

It is difficult to reproduce, but killing the IE process seems to do the trick. With Fiddler, I can see the 401 responses coming back form the server without the USERNAME param and regular status codes when that param is included.

A better fix would to fix this on the MG server side. I looked in the default MG Apache setup and can't find anywhere that authentication is required. I'm guessing that the 401 is being generated from within the mapagent.fcgi

Changed 5 years ago by crschmidt

  • status changed from new to closed
  • resolution set to fixed

Changed 5 years ago by crschmidt

  • state changed from Review to Complete
Note: See TracTickets for help on using tickets.