db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5849) Text for SQL state XSDG0: remove redundant "page"
Date Thu, 05 Jul 2012 18:00:47 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dag H. Wanvik updated DERBY-5849:
---------------------------------

    Description: 
In the message text (English locale), we see this error being printed for error state XSDG0:

Page Page(1,Container(0, 14929)) could not be read from disk. 

The text in messages.xml is:

<text>Page {0} could not be read from disk.</text>

The problem is that the argument used is a PageKey, which has a toString method thats prints:

Page(" + pageNumber + "," + container.toString() + ")";

so, we get two "page" string and it looks silly. 

  was:
In the message text (English locale), we see this error being printed

Page Page(1,Container(0, 14929)) could not be read from disk. 

The text in messages.xml is:

<text>Page {0} could not be read from disk.</text>

The problem is that the argument used is a PageKey, which has a toString method thats prints:

Page(" + pageNumber + "," + container.toString() + ")";

so, we get two "page" string and it looks silly. 

    
> Text for SQL state XSDG0: remove redundant "page"
> -------------------------------------------------
>
>                 Key: DERBY-5849
>                 URL: https://issues.apache.org/jira/browse/DERBY-5849
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services, Store
>            Reporter: Dag H. Wanvik
>
> In the message text (English locale), we see this error being printed for error state
XSDG0:
> Page Page(1,Container(0, 14929)) could not be read from disk. 
> The text in messages.xml is:
> <text>Page {0} could not be read from disk.</text>
> The problem is that the argument used is a PageKey, which has a toString method thats
prints:
> Page(" + pageNumber + "," + container.toString() + ")";
> so, we get two "page" string and it looks silly. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message