Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE 1.3.0.GA_P01
-
Fix Version/s: EE 1.3.1.GA
-
Component/s: Faces
-
Labels:None
-
Environment:Simulator
JSF
Description
* Add IE8 detection and do show a warning message instead of simulator.
Reproduced in IE10
************************
Once clicking to view components source code, cannot navigate back to the demos as there is no link for redirection (the source code view covers entirely the device simulator screen) , and the back browser button on the phone simulator image does not redirect to the previously viewed page (all devices except iPad).
Carousel: navigating to Carousel demo and then back to the menu triggers a JS error:
Message: Unable to get property 'removeChild' of undefined or null reference
Line: 249
Char: 5
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/showcase-small.jsf?theme=iphone&simulator=true
Popup Panel: when opening a panel popup using Client Side=OFF/ Auto-center=ON, the panel popup covers the Selected Value field making impossible to view what has been actually selected.
This field is partially visible if switching Auto-Center=OFF.
Buttons: on initial page load the horizontal button list is centered, but after clicking on the buttons they seem to left-align (all devices).
Geolocation: JS error when leaving the Geolocation page demo by clicking on the "Back" button (all devices except iPad).
Message: Unable to get property 'clientHeight' of undefined or null reference
Line: 7
Char: 13
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/showcase-small.jsf
GMap:
1) demo is initially rendered as in this screenshot (iPhone4/ BB z10/ BBQ10):
Clicking the IE10 Back (<-) button, the GMap demo is rendered having the map on the entire simulator screen:
Clicking on "Description" or "Resources" then the 'Example" tab makes the GMap demo to render correctly underneath the Latitude/Longitude/Map Type fields, and clicking the "Locate Me" button displays the correct coordinates.
2) Also a JS error occurred while testing GMap, when I selected another device for the simulator (Nexus7) and then re-selected iPhone 3/4 (I cannot reproduce this error consistently):
Message: 'google' is undefined
Line: 30
Char: 7
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/showcase-small.jsf?theme=iphone&simulator=true
3) On GMap demo, I got an "Webpage has expired" page when selecting another theme from the simulator drop-down (example, IPad) and clicking on the IE10 "Back" (<-) browser button:
Open resource:
1) blank screen in the device simulator when trying to access this demo (all devices except iPad):
2) If testing this demo without using any device simulator, clicking on the "openResourceLabel" link triggers a JS error:
Message: The data area passed to a system call is too small.
Line: 1087
Char: 5
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/javax.faces.resource/component.js.jsf?ln=org.icefaces.component.util&v=3_3_0_140210
Device Simulator = iPad/ landscape mode specific:
Open resource:
A "webpage cannot be displayed" page is rendered when clicking on the "openResourceLabel" link:
Reproduced in IE10
************************
Once clicking to view components source code, cannot navigate back to the demos as there is no link for redirection (the source code view covers entirely the device simulator screen) , and the back browser button on the phone simulator image does not redirect to the previously viewed page (all devices except iPad).
Carousel: navigating to Carousel demo and then back to the menu triggers a JS error:
Message: Unable to get property 'removeChild' of undefined or null reference
Line: 249
Char: 5
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/showcase-small.jsf?theme=iphone&simulator=true
Popup Panel: when opening a panel popup using Client Side=OFF/ Auto-center=ON, the panel popup covers the Selected Value field making impossible to view what has been actually selected.
This field is partially visible if switching Auto-Center=OFF.
Buttons: on initial page load the horizontal button list is centered, but after clicking on the buttons they seem to left-align (all devices).
Geolocation: JS error when leaving the Geolocation page demo by clicking on the "Back" button (all devices except iPad).
Message: Unable to get property 'clientHeight' of undefined or null reference
Line: 7
Char: 13
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/showcase-small.jsf
GMap:
1) demo is initially rendered as in this screenshot (iPhone4/ BB z10/ BBQ10):
Clicking the IE10 Back (<-) button, the GMap demo is rendered having the map on the entire simulator screen:
Clicking on "Description" or "Resources" then the 'Example" tab makes the GMap demo to render correctly underneath the Latitude/Longitude/Map Type fields, and clicking the "Locate Me" button displays the correct coordinates.
2) Also a JS error occurred while testing GMap, when I selected another device for the simulator (Nexus7) and then re-selected iPhone 3/4 (I cannot reproduce this error consistently):
Message: 'google' is undefined
Line: 30
Char: 7
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/showcase-small.jsf?theme=iphone&simulator=true
3) On GMap demo, I got an "Webpage has expired" page when selecting another theme from the simulator drop-down (example, IPad) and clicking on the IE10 "Back" (<-) browser button:
Open resource:
1) blank screen in the device simulator when trying to access this demo (all devices except iPad):
2) If testing this demo without using any device simulator, clicking on the "openResourceLabel" link triggers a JS error:
Message: The data area passed to a system call is too small.
Line: 1087
Char: 5
Code: 0
URI: http://10.18.39.149:8080/mobileshowcase/javax.faces.resource/component.js.jsf?ln=org.icefaces.component.util&v=3_3_0_140210
Device Simulator = iPad/ landscape mode specific:
Open resource:
A "webpage cannot be displayed" page is rendered when clicking on the "openResourceLabel" link:
Revision: 37272
Author: philip.breau
Date: February-11-14 10:32:02 AM
Message:
MOBI-1019Simulator issues
Modified : /icemobile-ee/trunk/icemobile-ee/simulator/src/main/java/org/icemobile/simulator/servlet/SimulatorServlet.java