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

Log messages for duplicate resource declarations have their arguments switched

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • Core Java Framework
    • 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

            alally Adam P. Lally
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: