Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5111

Prevent ViewContextParameterResolver from resolving IoC-annotated c-tor params

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • 6.1
    • None
    • None
    • None

    Description

      If the parameter is annotated with a Guice binding annotation (or javax.inject.Named which is of the same sort - do not attempt to resolve it and let Guice param resolver handle the case.

      Most obvious case is the EventBus which is present in pretty much every view's store and would be resolved by this parameter, but it conflicts with our Named annotation based approach of "scoping" the event buses.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 1.55h
                      1.55h