Обсуждение: Port Bug Report: Error in errors.properties in JDBC interface

Поиск
Список
Период
Сортировка

Port Bug Report: Error in errors.properties in JDBC interface

От
Unprivileged user
Дата:
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name               : Mark Collins
Your email address      : mcollins@openworld.co.uk

Category                : runtime: back-end
Severity                : serious

Summary: Error in errors.properties in JDBC interface

System Configuration
--------------------
  Operating System   : Linux 2.2.10 ELF (Slackware)

  PostgreSQL version : 6.5

  Compiler used      : gcc + Blackdown JDK 1.1.7

Hardware:
---------


Versions of other tools:
------------------------


--------------------------------------------------------------------------

Problem Description:
--------------------
In the errors.properties file, the error strings start at {1}
instead of {0} causing exception IllegalArgumentException,
Args # > Args Length


--------------------------------------------------------------------------

Test Case:
----------


--------------------------------------------------------------------------

Solution:
---------
Replace {1} with {0} and {2} with {1} etc in
errors.properties

--------------------------------------------------------------------------