on 04-18-2015 1:56 PM
Hi ,
Suppose we have interactions with two external systems and we don't want to use the same extension for interaction.
Idea is to create two extensions from ycommercewebservice template where each extension will take care of interaction with one external system.
I tried to implement the same but got duplicate definition errors.Any way to resolve conflicts ?
Can both extensions exists in parallel ?
de.hybris.bootstrap.beangenerator.BeanGenerationException: Duplicate definit
ion of attribute (de.hybris.platform.commercefacades.order.data.CartModificationDataList#cartModificationList) in <Firstinterfaces> it has be
en already defined in <Secondinterfaces>
No, extensions in Hybris are not made to be duplicated. They need to be extended by additional extensions with their own namespace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abishek,
Thanks for the response.
Cant two ycommercewebservice extension co-exist in the same Hybris instance ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The general approach is to write reusable code behind a facade and have it required by different extensions. As the context of the extensions is same, the same class is used across different extensions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.