Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaces not found until redmine:plugins:migrate is executed #10

Open
jgizycki opened this issue Nov 21, 2021 · 0 comments
Open

Defaces not found until redmine:plugins:migrate is executed #10

jgizycki opened this issue Nov 21, 2021 · 0 comments

Comments

@jgizycki
Copy link

jgizycki commented Nov 21, 2021

I successfully installed the plugin redmine_base_deface and created a second one which defines an override for the virtual path admin/plugins. It uses the deface dsl so that I have a file called override-test.html.erb.deface under app/overrides/admin/plugins inside my plugin directory.

After I start redmine using bin/rails server both plugins show up in redmine but the deface changes do not. Then I execute bin/rake redmine:plugins:migrate, nothing happens as I have a fresh redmine and only these two plugins, and my deface changes are picked up.

My guess that this hasn't anything to do with migrations in particular. But what happens during the rake task that I need to execute it and only then the defaces are executed? Is there maybe any template caching applied during startup that I need to clear beforehand?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant