[ECOMMERCE-256] The ecommerce module defines a injection of class located in a different module Created: 02/Sep/19  Updated: 17/Apr/20  Resolved: 01/Apr/20

Status: Closed
Project: E-commerce
Component/s: connector
Affects Version/s: 1.0
Fix Version/s: 1.1

Type: Bug Priority: Neutral
Reporter: Adrien Manzoni Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: E-com improvements 1.0 - 1.1.1 - 1.2
Sprint: Add-Ons 34
Story Points: 0.5

 Description   

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
 


Generated at Mon Feb 12 01:42:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.