Defect #33232

Hard-coded error messages in ApplicationController

Added by Kam Nazir 4 months ago. Updated 3 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:I18n
Target version:4.2.0
Resolution: Affected version:

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

33232.patch Magnifier (1.85 KB) Go MAEDA, 2020-05-03 06:11

History

#1 Updated by Go MAEDA 3 months ago

  • File 33232.patchMagnifier added
  • Target version set to Candidate for next major release

The attached patch removes two hard-coded strings from ApplicationController.

#2 Updated by Go MAEDA 3 months ago

  • 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.

#3 Updated by Go MAEDA 3 months ago

  • 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

Also available in: Atom PDF