Description of problem:
The /application/:id/edit route is enabled in the rails routes for the mgmt console but there is no matching controller. Attempting to hit a URL of that type will create an error in the logs like:
"The action 'edit' could not be found for ApplicationsController"
This route should not be enabled and attempting to access it should throw a routing error instead, like:
"ActionController::RoutingError (No route matches [GET] "/console/application/52c57f928eb5f14acd000002-php/edit")"
Version-Release number of selected component (if applicable):
Found in PROD
fix is in https://github.com/openshift/origin-server/pull/4405
Commit pushed to master at https://github.com/openshift/origin-server
Bug 1047920 - application edit route should not be enabled
Test on devenv_4177.
When access /console/application/52c661e601647909f40000c9-php/edit page, it will through "ActionController::RoutingError (No route matches [GET] "/console/application/52c661e601647909f40000c9-php/edit"):"
So verify this bug. Thanks!