Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-474

Log messages for duplicate resource declarations have their arguments switched

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              alally Adam P. Lally
              Reporter:
              alally Adam P. Lally

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment