1
0
Fork 0
mirror of synced 2025-04-02 04:46:16 +03:00
doctrine2/lib/Doctrine/ORM
Aljosha Papsch d7e1f883d8
XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file.
Doctrine is affected by PHP bug #62577. simplexml_load_file is not
able to load files if libxml_disable_entity_loader(true) has been
called. simplexml_load_file fails with the message:

I/O warning : failed to load external entity "/my/mappings/my_entity.dcm.xml"
in /path-to/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php on line 711

This error occurs even if there are no external entities in the XML file.

Waiting for the PHP bug to be resolved is infeasible, because it is
unresolved since years. Therefore Doctrine needs to circumvent the bug
by replacing simplexml_load_file with simplexml_load_string while getting
the file contents itself. simplexml_load_string is not affected by the
PHP bug.
2017-08-18 21:10:11 +02:00
..
Cache Fixed support for inverse side second level cache 2016-12-05 14:36:33 -03:00
Decorator make lock mode usage consistent 2014-02-05 15:13:53 +01:00
Event Fixed PHPDoc 2017-04-02 20:29:46 +03:00
Id #1176 DDC-3378 - minor CS fixes (imports, spacing, IDE hints) 2015-01-22 12:11:03 +01:00
Internal fix AbstractHydrator addEventListener on hydrateAll() 2017-08-16 14:49:22 +02:00
Mapping XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file. 2017-08-18 21:10:11 +02:00
Persisters Fixed support for inverse side second level cache 2016-12-05 14:36:33 -03:00
Proxy #6626 #6625 minor CS fixes (removed useless assignments) 2017-08-16 15:20:10 +02:00
Query fixed undefined variable 2017-08-12 11:33:11 +02:00
Repository #1159 - protecting Doctrine\ORM\Repository\DefaultRepositoryFactory API by making it final and its protected members private 2014-10-14 01:46:50 +02:00
Tools Fix CountOutputWalker for queries with GROUP BY 2017-06-22 07:15:35 +02:00
Utility #1113 - minor CS fixes (spacing/alignment) 2015-02-16 01:02:56 +00:00
AbstractQuery.php Make child entity share the timestamp region with parent class 2016-11-23 17:58:05 +01:00
Cache.php DDC-3078 - constructor should never be interfaced 2014-04-17 15:16:56 -04:00
Configuration.php Changed some wrong usage of the @internal phpdoc 2015-03-15 16:53:34 +01:00
EntityManager.php Changed some wrong usage of the @internal phpdoc 2015-03-15 16:53:34 +01:00
EntityManagerInterface.php #1172 - adding @method annotation to simplify static introspection 2015-01-16 22:50:52 +01:00
EntityNotFoundException.php #1240 DDC-3479 - Basic coverage for EntityNotFoundException 2015-01-13 02:55:51 +01:00
EntityRepository.php Remove useless dependency 2014-05-15 18:22:56 +02:00
Events.php #385 #1181 DDC-3385 - fixing Events docblocks as per @deeky666's review 2015-01-13 21:15:34 +01:00
LazyCriteriaCollection.php Classify persisters into more granular namespaces. 2015-01-16 00:10:25 +01:00
NativeQuery.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NonUniqueResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
NoResultException.php Fixed missed documentation issues in Doctrine\ORM 2012-12-14 20:12:56 +00:00
OptimisticLockException.php Removed unnecessary is_object() check 2013-10-01 13:00:37 +02:00
ORMException.php Improved composite primary key support 2015-02-16 00:53:46 +00:00
ORMInvalidArgumentException.php #1228 DDC-3490 - Remove unused method 2015-01-18 01:05:53 +01:00
PersistentCollection.php #6613 #6614 #6616 minor performance optimisations around the new restoreNewObjectsInDirtyCollection implementation 2017-08-11 21:23:58 +02:00
PessimisticLockException.php Fix some LGPL occurances to MIT 2013-10-02 12:07:37 +02:00
Query.php Query::_getQueryCacheId() directly accesses $this->_parsedTypes 2015-03-24 17:14:45 +01:00
QueryBuilder.php Merge pull request #1303 from mrkrstphr/querybuilder-get-all-aliases 2015-03-17 23:33:43 +00:00
README.markdown [2.0] Adding blank README files 2010-04-06 03:04:02 +00:00
TransactionRequiredException.php Fix some LGPL occurances to MIT 2013-10-02 12:07:37 +02:00
UnexpectedResultException.php Fixed unused 'use' statements. 2012-12-13 18:19:21 +00:00
UnitOfWork.php #6174 #5570 removed unused/dead code 2016-12-18 16:09:52 +01:00
Version.php Bumping development release to v2.5.10DEV 2017-08-16 15:30:59 +02:00