Open rufinus opened 1 year ago
BTW, If you can, please update the issue description with the real output from composer show --latest 'doctrine/*'
in order to help other users better understand this problem.
fix is doctrine.orm.validate_xml_mapping: false
, which is deprecated, which is an issue ... but it works :shrug:
This is not a fix. It is a time-limited workaround
true :angel: im not sure what best way forward is. I do like to point out creating addiotional .gedmo.xml
(#2657) is not really ideal
in our case, we will probably migrate to attributes sooner or later
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Don't stale this issue...
when it will be fixed?
Many projects use XML for ORM, and there are no plans to translate this into attributes. In the PR (https://github.com/doctrine-extensions/DoctrineExtensions/pull/2657) I proposed, there are two options for setting up Gedmo:
Without these options, GEDMO takes Doctrine settings, and as a result, it is impossible to use attributes for GEDMO if Doctrine uses xml
Environment
Package
Timestampable
Doctrine packages
PHP version
Subject
Using XML Schema with a timestampable field:
the following validation error is displayed (eg. on cache:clear):
ibxml error: Element '{http://gediminasm.org/schemas/orm/doctrine-extensions-mapping}timestampable': No matching global element declaration available, but demanded by the strict wildcard. in [file] at line 16
doctrine/orm 2.14.1 is working fine.