Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7034

Fail fast when two candidates with same type encountered in CandidateParameterResolver

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • 5.5.4
    • None
    • None

    Description

      info.magnolia.objectfactory.CandidateParameterResolver might end up with more than one candidate of same type and therefore injection of those parameters will be messed up.

      Instead upon detection of a situation as such, we should be throwing exceptions to warn the user instead of doing wrong injections.

      For more information: https://wiki.magnolia-cms.com/display/ARCHI/2017-05-18+Architecture+meeting+notes

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ilgun Ilgun Ilgun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD