Defect #33232
closed
Hard-coded error messages in ApplicationController
Added by Kam Nazir almost 6 years ago.
Updated almost 5 years ago.
Description
uninternationalized hard-coded string exists in source:trunk/app/controllers/application_controller.rb@19553#L686
def query_statement_invalid(exception)
logger.error "Query::StatementInvalid: #{exception.message}" if logger
session.delete(:issue_query)
render_error "An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator."
end
Files
The attached patch removes two hard-coded strings from ApplicationController.
- Category changed from Translations to I18n
- Target version changed from Candidate for next major release to 4.2.0
Setting the target version to 4.2.0.
- Subject changed from Hard-coded string "An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator." to Hard-coded error messages in ApplicationController
- Status changed from New to Confirmed
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Also available in: Atom
PDF