Pages

Google Ads

Monday, July 01, 2013

Pentaho 4.8 /4.5 CE running on iPad / iPhone / Android bug fixed

"When we log into Pentaho User Console using our iPad /iPhone/iPod Touch or an Android device, by default Pentaho launches Analyzer , however this component is exclusive from Enterprise Edition."

To correct this issue we should open this file:
PUCLogin.jsp
included in the following folder:
biserver-ce-4.8.0-stable\biserver-ce\tomcat\webapps\pentaho\jsp
and search for the following code snippet
1
2
3
if(/(iPad|iPod|iPhone)/.test(navigator.userAgent) || window.orientation !== undefined){
returnLocation = CONTEXT_PATH+"content/analyzer/selectSchema";
}
Disable or delete this source code lines and the bug will be fixed
1
2
3
//if(/(iPad|iPod|iPhone)/.test(navigator.userAgent) || window.orientation !== undefined){
  //      returnLocation = CONTEXT_PATH+"content/analyzer/selectSchema";
//}
Known limitations:
On several mobile devices mantle double click behavior doesn’t work fine, remember to use the buttons red squared on the next screenshot

No comments: