Closed sibbi77 closed 2 years ago
Hi @sibbi77,
I cannot reproduce this problem. URL /dashboards/2 is correct for update the dashboard. Are you sure, there is no other active plugins or no modifications of Redmine routing?
I tried hard to have a clean environment. Using docker containers and empty databases made me think I've a sane environment. How can I check for routing modifications?
I tried the absolute minimal configuration:
docker run -d --name redmine-docker-test -p 3003:3000 redmine:4.2.6
After docker exec -it redmine-docker-test bash
I installed the plugin according to the documentation:
git clone -b stable https://github.com/AlphaNodes/additionals.git plugins/additionals
bundle config set --local without 'development test'
bundle install
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
kill 1
docker start redmine-docker-test
The problem remains reproducible.
Hi @sibbi77,
another look to source and I think I found the problem. It looks like a bug, if you only have 1 project in your Redmine (or access to one project). As you are using a user with admin permission, just try to create a second project. After the second project exist, it should work.
Let me know, if this is the problem. I'll create a bug fix then, to solve this problem.
Great! You found it! After creating a second project, it works.
Hi @sibbi77
I'm glad this works now. Thanks for reporting this!
I commited a fix to main branch for it.
Similar to #109, but without any additional plugins.
Shouldn't the url read "/projects/test/dashboards/2"?
I tried redmine 4.2.5, 4.2.6 and 4.1.7. Always a clean install from docker images. The database was completely removed between version changes.
I'm using the stable branch (version 3.0.5.2 7a56bff).
Here is the log: