Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-256

The ecommerce module defines a injection of class located in a different module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1
    • 1.0
    • connector
    • None

      I notice a weird thing regarding the ecommerce module
      https://git.magnolia-cms.com/projects/ADDON/repos/ecommerce/browse/magnolia-ecommerce/src/main/resources/META-INF/magnolia/ecommerce.xml
      https://git.magnolia-cms.com/projects/ADDON/repos/ecommerce/browse/magnolia-ecommerce-templating/src/main/resources/META-INF/magnolia/ecommerce-templating.xml
       
      The injection info.magnolia.ecommerce.templating.EcommerceTemplatingFunctions is defined twice
      but the class is only present in the ecommerce-templating module
       
      Basically, if I defined only that depency:

      <!-- Ecommerce - commerce tools -->      
      <dependency>        
      <groupId>info.magnolia.ecommerce</groupId>        
      <artifactId>magnolia-ecommerce-commercetools-connector</artifactId>        <version>${ecommerceVersion}</version>      
      </dependency>
      

      it will fails, as it depends on the ecommerce module, which defines an injection from the ecommerce-templating
       

        Acceptance criteria

              oanh.thai Oanh Thai Hoang
              amanzoni Adrien Manzoni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD