You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2007/06/27 17:37:25 UTC

[jira] Created: (UIMA-474) Log messages for duplicate resource declarations have their arguments switched

Log messages for duplicate resource declarations have their arguments switched
------------------------------------------------------------------------------

                 Key: UIMA-474
                 URL: https://issues.apache.org/jira/browse/UIMA-474
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Adam Lally
            Assignee: Adam Lally
             Fix For: 2.2


If you declare two resources with the same name, you get a log message:
The external resource named {0} has been declared multiple times with different definitions. \
  The definition of the resource in component {1} will be used.  The definition in component {2} will be ignored.

However the code that generates the message has the arguments {1} and {2} the wrong way around, actualy it is the resource declared in component {2} that will be used.

The same is true for the log message about overriding resources - it tells you that the resource declared in the aggregate was overriden by its delegate, which is the opposite of what actually happens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (UIMA-474) Log messages for duplicate resource declarations have their arguments switched

Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lally closed UIMA-474.
---------------------------

    Resolution: Fixed

> Log messages for duplicate resource declarations have their arguments switched
> ------------------------------------------------------------------------------
>
>                 Key: UIMA-474
>                 URL: https://issues.apache.org/jira/browse/UIMA-474
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Adam Lally
>            Assignee: Adam Lally
>             Fix For: 2.2
>
>
> If you declare two resources with the same name, you get a log message:
> The external resource named {0} has been declared multiple times with different definitions. \
>   The definition of the resource in component {1} will be used.  The definition in component {2} will be ignored.
> However the code that generates the message has the arguments {1} and {2} the wrong way around, actualy it is the resource declared in component {2} that will be used.
> The same is true for the log message about overriding resources - it tells you that the resource declared in the aggregate was overriden by its delegate, which is the opposite of what actually happens.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.