Project

General

Profile

Actions

Defect #33232

closed

Hard-coded error messages in ApplicationController

Added by Kam Nazir about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
I18n
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
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


Files

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

Updated by Go MAEDA almost 4 years ago

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

Actions #2

Updated by Go MAEDA almost 4 years 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.

Actions #3

Updated by Go MAEDA almost 4 years 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
Actions #4

Updated by Marius BÄ‚LTEANU about 3 years ago

  • Status changed from New to Confirmed
Actions #5

Updated by Go MAEDA about 3 years ago

  • Status changed from Confirmed to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix.

Actions

Also available in: Atom PDF