Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2522

Log WARN when an invalid qualifier was added via extension

    XMLWordPrintable

    Details

      Description

      See forum for original query - https://developer.jboss.org/message/984488

      As it stands, Weld allows you to register a qualifier, which can be later on, during injection, deemed as invalid. This means the application will blow up anyway, only during runtime and not bootstrap.

      We should add qualifier validation to BeforeBeanDiscovery.addQualifier() to stick with fail-fast approach.
      We should bump the level of logging to warning (currently it is just debug).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manovotn Matej Novotny
                Reporter:
                manovotn Matej Novotny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: