Javascript Errors Seen When Refreshing Page Containing Map Portlet (Doc ID 1420873.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version: 11.1.1.5.0 and later   [Release: 11g and later ]
Information in this document applies to any platform.

Symptoms

In an 11.1.1.5 JDeveloper installation, after creating a portlet with the Map Viewer component in it, and consuming it by another application, clicking refresh on the page is giving javascript errors and the map is not re-displaying.

The javascript errors are of the following types :-


1. Error: AdfRichUIPeer.getDomElementForComponent(x92) is undefined
2. Error: this._themeInfoTable is undefined

To reproduce do this :-
1. Create a JDeveloper Application for portlet containing the Map Viewer Component - MapPortlet
2. Test running it standalone -- Works fine and shows a map
3. Create a consumer application
4. Create a new WSRP Producer connection using the WSDL details for the portlet
eg
http://127.0.0.1:7101/MapPortlet-ViewController-context-root/portlets/wsrp2?WSDL
5. Run the consumer application
6. Add the portlet <NewProducerConnectionName>--MapPortlet_start_jspx from Resource Catalog
7. The map is displayed within the page.
8. Click refresh - the portlet is blank and one of the javascript errors are seen.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms