Project

General

Profile

Are Plugins Working Differently In Trunk?

Added by Jim Mulholland about 16 years ago

I updated to trunk last night and just noticed that none of the Redmine plugins are working. They all return a "No route matches ...." error in both my local and server environments.

Any ideas?


Replies (6)

RE: Are Plugins Working Differently In Trunk? - Added by Eric Davis about 16 years ago

Did you install the latest version of engines and change environment.rb as described here?

RE: Are Plugins Working Differently In Trunk? - Added by Jim Mulholland about 16 years ago

Hi Eric,

The odd thing is that they were all working for me before I upgraded to the latest trunk release yesterday. (I wrote my Google Calendar plugin last week without any issues.)

However, after the upgrade, I get an error when I click on the tab for any plugin.

Has anybody else tried to access plugins with a version of trunk from the last day or so?

RE: Are Plugins Working Differently In Trunk? - Added by Eric Davis about 16 years ago

I'm running off of r1266. Does my plugin work in your environment?

RE: Are Plugins Working Differently In Trunk? - Added by Jim Mulholland about 16 years ago

Hi Eric,

It turns out you were right! I accidentally overwrote my change to environment.rb causing my plugin issue.

After adding the the line mentioned in the wiki, all is working again.

Thanks for the help!

- Jim

RE: Are Plugins Working Differently In Trunk? - Added by Eric Davis about 16 years ago

I'm glad that was the solution. I'm gearing up to release a few more plugins this month and would hate to have them break right away.

Eric

RE: Are Plugins Working Differently In Trunk? - Added by Jean-Philippe Lang about 16 years ago

As of r1281, adding the "require" line to environment.rb is no longer needed.
Engines plugin will be automatically loaded if available.

    (1-6/6)