Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4436

[regression] Singleton components can get instantianted multiple times

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-3
    • Fix Version/s: 3.0-alpha-4
    • Component/s: None
    • Labels:
      None

      Description

      As Igor discovered, the changes made for MNG-4429 caused a regression regarding lookup of singleton components. In detail, a scenario like

      /** @component */
      private Component singleton1;
      
      /** @component roleHint="default" */
      private Component singleton2;
      

      will get two different instances of the same singleton component.

        Attachments

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              bentmann Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: