Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.0.0.BETA
-
Fix Version/s: 3.1.0.BETA1, 3.1, EE-3.0.0.GA_P01
-
Component/s: Bridge
-
Labels:None
-
Environment:ICEfaces 3, Tomcat 7, IE9 with Document Mode IE9
-
Affects:Sample App./Tutorial
Description
Same behavior in the showcase. Details below:
ice:gMap > Render Type
Navigating to the render type page displays Server Internal Error popup. (only reproducible in IE9 with document mode set to IE9, works fine in IE8, IE7, Chrome and FF. Also works in IE9 mode with document mode of IE8 or 7).
Console output for IE9 & document mode set to IE9:
[window] received error message [code: 200]: <?xml version='1.0' encoding='UTF-8'?>
<partial-response><error><error-name>class java.lang.NullPointerException</error-name><error-message><![CDATA[]]></error-message></error><changes><extension aceCallbackParam="validationFailed">{"validationFailed":false}</extension></changes></partial-response>
Related JIRA - ICE-7704
uncomment
//@MenuLink(title = "menu.compat.map.subMenu.type", exampleBeanName = MapType.BEAN_NAME),
in org.icefaces.samples.showcase.example.compat.map.MapBean and launch app in IE9 to reproduce.
NOTE: The showcase application was deployed on Tomcat 7 during the test. It was using the icefaces 3 trunk code (rev#27509). Visually you will be able to see a Server Internal Error popup when navigating to ice:gMap - Render Type example.
ice:gMap > Render Type
Navigating to the render type page displays Server Internal Error popup. (only reproducible in IE9 with document mode set to IE9, works fine in IE8, IE7, Chrome and FF. Also works in IE9 mode with document mode of IE8 or 7).
Console output for IE9 & document mode set to IE9:
[window] received error message [code: 200]: <?xml version='1.0' encoding='UTF-8'?>
<partial-response><error><error-name>class java.lang.NullPointerException</error-name><error-message><![CDATA[]]></error-message></error><changes><extension aceCallbackParam="validationFailed">{"validationFailed":false}</extension></changes></partial-response>
Related JIRA - ICE-7704
uncomment
//@MenuLink(title = "menu.compat.map.subMenu.type", exampleBeanName = MapType.BEAN_NAME),
in org.icefaces.samples.showcase.example.compat.map.MapBean and launch app in IE9 to reproduce.
NOTE: The showcase application was deployed on Tomcat 7 during the test. It was using the icefaces 3 trunk code (rev#27509). Visually you will be able to see a Server Internal Error popup when navigating to ice:gMap - Render Type example.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The ice:gMap -> Render Type component page might be commented out in the MapBean.java file:
@MenuLink(title = "menu.compat.map.subMenu.latlong", exampleBeanName = MapLatLong.BEAN_NAME),
@MenuLink(title = "menu.compat.map.subMenu.controls", exampleBeanName = MapControls.BEAN_NAME),
@MenuLink(title = "menu.compat.map.subMenu.zoom", exampleBeanName = MapZoom.BEAN_NAME),
//@MenuLink(title = "menu.compat.map.subMenu.type", exampleBeanName = MapType.BEAN_NAME),
@MenuLink(title = "menu.compat.map.subMenu.load", exampleBeanName = MapLoad.BEAN_NAME)
In order to enable the component page, uncomment the commented line, rebuild and redeploy the showcase.war
Show
Jack Van Ooststroom
added a comment - The ice:gMap -> Render Type component page might be commented out in the MapBean.java file:
@MenuLink(title = "menu.compat.map.subMenu.latlong", exampleBeanName = MapLatLong.BEAN_NAME),
@MenuLink(title = "menu.compat.map.subMenu.controls", exampleBeanName = MapControls.BEAN_NAME),
@MenuLink(title = "menu.compat.map.subMenu.zoom", exampleBeanName = MapZoom.BEAN_NAME),
//@MenuLink(title = "menu.compat.map.subMenu.type", exampleBeanName = MapType.BEAN_NAME),
@MenuLink(title = "menu.compat.map.subMenu.load", exampleBeanName = MapLoad.BEAN_NAME)
In order to enable the component page, uncomment the commented line, rebuild and redeploy the showcase.war
Something must be messed up with the IE7 browser on icepc13: basic and compat-basic test fails in IE7 on icepc13, for the locally deployed apps on icepc13, but it passes in IE7 on icepc13 if accessing the same app deployed on icepc18.
Test passes in IE7 on icepc18 if accessing any of the apps, the ones deployed locally on icepc18, or the ones on icepc13.