Ticket #300 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Maps with commercial layers failed to display in supported browsers except IE.

Reported by: jennyhe Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 1.1.1
Severity: Major Keywords:
Cc: cclaydon External ID: 1257754
state: Committed Browser: All
Operating System: All

Description

Steps: Open one flexible web layout with commercial layers in Firefox

Results: Nothing dislayed.

Expected results: Map should display correctly as it shows in IE.

Attachments

error_information.PNG Download (16.0 KB) - added by jennyhe 4 years ago.
fusion.patch Download (4.1 KB) - added by liuar 4 years ago.
fusion.js Download (45.9 KB) - added by liuar 4 years ago.
From_SiteServer_20091130_Packet to Fusion.mgp Download (42.5 KB) - added by liuar 3 years ago.
ApplicationDefinition.xml Download (36.2 KB) - added by liuar 3 years ago.
jxlib.uncompressed.js.patch Download (5.4 KB) - added by chrisclaydon 3 years ago.
Patch for jxlib.uncompressed.js to get things working in Firefox

Change History

Changed 4 years ago by zjames

  • owner changed from madair to zjames
  • status changed from new to assigned

I'm unable to reproduce this in Firefox 3.0 or 3.5. Can you give more information about your browser version, ApplicationDefinition and any messages displayed in the javascript console?

Changed 4 years ago by jennyhe

Changed 4 years ago by jennyhe

Version I used is 3.5.3. Please check the attached png file which shows Error Control information.

Changed 4 years ago by liuar

Changed 4 years ago by liuar

Changed 4 years ago by zjames

  • state changed from New to Approved

This looks ok, Arthur. Are you a committer or do you want me to put it in trunk?

Changed 4 years ago by liuar

Thanks for your review, Zak. I've submitted the code. But there's still a problem of jxLib for Bing(Virtual Earth) in FF 3.5. The error occurs in Jxlib.uncompressed.js Line:17397. Can you reproduce it in your machine?

Changed 4 years ago by pagameba

I've committed a change to this code that fixes a javascript error when MapGuide is not present (mapserver users). The call to createSessionId() has been moved inside appDefUrl and extra tests have been added to limit this behaviour to application definitions being loaded from  Library:// or  Session://.

Please confirm this does not break anything for you as I have only tested without mapguide.

Changed 4 years ago by liuar

I've confirmed it, MapGuide works fine. Thanks.
Sorry for the defect in MapServer.

Changed 3 years ago by madair

  • cc cclaydon added
  • owner changed from zjames to madair
  • status changed from assigned to new

it appears like the src URL for commercial layers API is being included in the AppDef? file. I don't have an updated version of Studio that generates the file file with that in it so can someone please attach and/or send me a smaple AppDef? that includes commercial layers.

Changed 3 years ago by liuar

Changed 3 years ago by liuar

Changed 3 years ago by liuar

Hi Mike,

I have attached the xml file you needed and a MGP file which contains the data.

Arthur

Changed 3 years ago by tomfukushima

Hi Mike, If you still need Studio, Zac should have a DVD that has Studio on it that you can use for this. Tom

Changed 3 years ago by tomfukushima

...sorry, I meant Zak, not Zac.

Changed 3 years ago by chrisclaydon

Patch for jxlib.uncompressed.js to get things working in Firefox

Changed 3 years ago by chrisclaydon

I've attached a patch for the jxlib file that should eliminate the errors currently seen in Firefox. (Tested in FF 3.0.15). Obviously these changes should be ported into the JxLib code stream, but I'm afraid that is beyond my level of expertise...

Changed 3 years ago by pagameba

Chris, I've reviewed the jxlib patch and committed the changes to the jxlib project, please go ahead and commit your changes to fusion.

Changed 3 years ago by liuar

  • status changed from new to closed
  • state changed from Approved to Committed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.