You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I renamed the war file to aplicaciones#pentaho and changed all the necessary configuration parameters and got it working with one exception.
Some of the URLs, when working with an ETL, get the last folder chopped
Notice that the pentaho part of the URL is missing.
I started to look at the javascript and it turns out that in the file pentaho-solutions/system/pentaho-cdf/js/cdf-bootstrap-script-includes.js
at line 5266 you can see
I know that this is a corner case and the suggestion is just a "hack" to make it work, but the rest of the URLs are generated correctly; that means that the correct logic to guess the correct webAppPath should exist somewhere else in the code.
Cheers
PS: The Pentaho I installed is pentaho-server-ce-9.3.0.0-428.zip
The text was updated successfully, but these errors were encountered:
The webAppPath will only not be defined if there is no defined CONTEXT_PATH variable. For this to happen, you would be using Pentaho's CDF code from outside Pentaho, perhaps? Typically, in such a case, you'd include the script http://yourserver.com/pentaho/plugin/pentaho-cdf/api/cdf-embed.js, which should properly setup the Pentaho JS Context for CDF.
My company forces to deploy all the webapps on a second level URL, in this case, Pentaho should be deployed at https://mycompanysite/aplicaciones/pentaho
I renamed the war file to
aplicaciones#pentaho
and changed all the necessary configuration parameters and got it working with one exception.Some of the URLs, when working with an ETL, get the last folder chopped
Notice that the
pentaho
part of the URL is missing.I started to look at the javascript and it turns out that in the file pentaho-solutions/system/pentaho-cdf/js/cdf-bootstrap-script-includes.js
at line 5266 you can see
if(webAppPath==undefined){webAppPath="/"+pathArray[1];}
I changed it to
if(webAppPath==undefined){webAppPath="/"+pathArray[1]+"/"+pathArray[2];}
And everything is working fine.
I know that this is a corner case and the suggestion is just a "hack" to make it work, but the rest of the URLs are generated correctly; that means that the correct logic to guess the correct webAppPath should exist somewhere else in the code.
Cheers
PS: The Pentaho I installed is pentaho-server-ce-9.3.0.0-428.zip
The text was updated successfully, but these errors were encountered: