alexmonteiro / Redmine-Monitoring-Controlling

Redmine Plugin that works with Highcharts to show tasks on project throught Charts.
Other
131 stars 79 forks source link

"Page not found" in the case when Redmine is installed in subURI #54

Closed saric closed 11 years ago

saric commented 12 years ago

Viewing filtered list of issues does not work in the case when Redmine is installed in subURI, eg. http://www.mysite.com/redmine/ After clicking on graph "Tasks by Statuses" in tab "Tasks Management" or any other graph in tab "Human Resources Management" new window is opened displaying message "The page is not found.", because subURI part of URI is missing.

fmarines commented 12 years ago

i got the same issue, any thoughs? workarounds?

saric commented 12 years ago

Here is the solution: URIs have to be changed by adding "../.." at the beginning of URI in following files: app/views/home_monitoring_controlling_project/_index.html.erb, at line 92 app/views/mc_human_resource_mgmt_project/_scripts.html.erb, at lines 47 and 143 old value: window.open('/projects/... new value: window.open('../../projects/...

alexmonteiro commented 12 years ago

I will check this solution, @saric. Thanks for reporting.

alexmonteiro commented 12 years ago

fixed applied on commit b0846935e8. Thanks for reporting.