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.

featured-48-dashboard

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


 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


 //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

BLOG_report_launch_controls

 

I hope you have enjoyed!
Please feel free to comment or add any tips or ideas you may have

Advertisements