Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-75

Superfluous warning for old-style component overrides with component-overrides.txt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.4-milestone-1
    • 3.3
    • Component
    • None

    Description

      This is a regression that was introduced in XCOMMONS-49.

      Right now when a component is listed both in components.txt and component-overrides.txt the Annotation Loader will generate a warning like this:

      2012-01-03 11:36:01,697 [main] WARN  .c.a.ComponentAnnotationLoader - Component [org.xwiki.rendering.internal.transformation.linkchecker.DefaultHTTPChecker] which implements [role = [org.xwiki.rendering.internal.transformation.linkchecker.HTTPChecker] hint = [default]] tried to overwrite component [org.xwiki.test.linkchecker.internal.StubHTTPChecker].However, no action was taken since both components have the same priority level of [{}]. 
      

      In practice the code will execute correctly but the warning shouldn't be there.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: