-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
After I installed this plugin in my project, I get the following error:
libxml error: Element '{http://gediminasm.org/schemas/orm/doctrine-extensions-mapping}timestampable': No matching global element declaration available, but demanded by the strict wildcard.
in /app/vendor/sylius/adyen-plugin/config/doctrine/AdyenPaymentDetail.orm.xml at line 25
libxml error: Element '{http://gediminasm.org/schemas/orm/doctrine-extensions-mapping}timestampable': No matching global element declaration available, but demanded by the strict wildcard.
in /app/vendor/sylius/adyen-plugin/config/doctrine/AdyenPaymentDetail.orm.xml at line 28
I researched what the problem is, in the config/doctrine/AdyenPaymentDetail.orm.xml and config/doctrine/AdyenReference.orm.xml files gedmo is used in the following fields:
<field name="createdAt" column="created_at" type="datetime">
<gedmo:timestampable on="create"/>
</field>
<field name="updatedAt" column="updated_at" type="datetime" nullable="true">
<gedmo:timestampable on="update"/>
</field>I tried replacing this with a simple use without gedmo as follows, and it worked:
<field name="createdAt" column="created_at" type="datetime"/>
<field name="updatedAt" column="updated_at" nullable="true" type="datetime"/>I looked at similar cases for the MolliePlugin plugin, and it doesn't use gedmo, although there are such fields. Could you remove gedmo, and thus make this plugin more flexible?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels