Actions
Patch #12911
closedFix 500 error for requests to the settings path for non-configurable plugins
Start date:
Due date:
% Done:
0%
Estimated time:
Description
When a non-configurable plugin is specified in a GET or POST to /settings/plugin/:id, a NoMethodError will be raised, and Redmine will respond with status 500.
The attached patch fixes this by rendering a 404 for both GETs and POSTs unless the plugin is configurable. It's based on trunk r11204.
I've also updated and added tests.
Files
Updated by Jean-Philippe Lang almost 12 years ago
- Category set to Code cleanup/refactoring
- Status changed from New to Closed
- Target version set to 2.3.0
Patch committed in r11216, thanks!
Actions