Closed momibun926 closed 6 years ago
Hello momibun926,
we will look into this and fix it as soon as possible.
Thanks for the feedback.
Hello momibun926,
I was trying to reproduce the error to see what was wrong but I can't make it happen.
Can you give me some more details on this?
Thanks
Hi Nuno Castro,
My Environment is Redmine version:2.5.2.stable Ruby version:1.9.3-p231 (2012-05-25) [i386-mingw32] Rails version:3.2.19 Environment:production
Not working: EVM tab -> Baseline-Dropdown Selected past baseline URL:http://192.168.11.100/redmine/baselines/4
working: Settings tab -> Baseline tab -> Baseline-list Click past baseline URL:http://192.168.11.100/baselines/4
When you select a "past baseline" from the dropdown you're being redirected to .../redmine/baselines/4 ?
Can you confirm that? Anyway that shouldn't happen so I will check it.
Sorry, I mistake.
Not Working: EVM tab -> Baseline-Dropdown Selected past baseline URL:http://192.168.11.100/baselines/4
working: Settings tab -> Baseline tab -> Baseline-list Click past baseline URL:http://192.168.11.100/redmine/baselines/4
It's strange beacause both, the dropdown and the list, redirect you to the same action so they both should work.
Can you send the full log error please?
Hi Nuno Castro,
The log was not being output.
Normally you can see the logs in you terminal app in the same place where you put your server running.
Without this is going to be hard to help you because ,like I said before, both "lists" redirect the browser to the same action so if one is working fine the other should work also.
Hi Nuno Castro, I try to clean install, only redmine_evm plugin. Error situation did not change.
It is working After change the source as follows: line 175 in app/views/baselines/show.html.erb,
window.location = '/baselines/' + $(this).val(); -> window.location = '/redmine/baselines/' + $(this).val();
Hello @momibun926,
can you run this
$ rake routes | grep baseline
and paste here the result?
hi @nfecastro
baselines GET /baselines(.:format) baselines#index
edit_baseline GET /baselines/:id/edit(.:format) baselines#edit
baseline GET /baselines/:id(.:format) baselines#show
PUT /baselines/:id(.:format) baselines#update
DELETE /baselines/:id(.:format) baselines#destroy
project_baselines POST /projects/:project_id/baselines(.:format) baselines#create
new_project_baseline GET /projects/:project_id/baselines/new(.:format) baselines#new
Hi @momibun926
Not able to reproduce this on redmine versions that we support (2.6.10 or above)
Thanks
Select from the BaseLines-DropDown, it occur error.
error log is
ActionView::Template::Error (undefined method `is_closed' for nil:NilClass): 153:
154: <%= render :partial => '/baselines/chart_js', :locals => { maximum_chart_date: @project.maximum_chart_date(@baseline), project_chart_data: @project.data_for_chart(@baseline, @forecast_is_enabled) } %> 155: