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

When resolving app names for IoC annotations from the XML components ids - use the longest matching app name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 5.5.7, 5.6
    • 5.5.5
    • None
    • None
    • Basel 111
    • 3

      There might be several apps in the system that might have very similar name, e.g. articles, articles-custom, articlesOld and so on. Currently when module descriptor contains a component mapping section with i.d. equal to e.g. <id>app-articlesOld-mysubapp, the IoC mechanism may screw things up because it might think that the components from this section are bound to the app articles because of the too permissive pattern matching.

      Solution would be to choose the app whose name is longest among the matching ones (instead of picking the first one matching).

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD