Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/doctrine/mongodb-odm

The Official PHP MongoDB ORM/ODM
https://github.com/doctrine/mongodb-odm

Allow MappedSuperclass repositoryClass in annotations

9bb4c941f2b79f607ed0e868b9031b2fc01ebbc8 authored about 11 years ago
Merge pull request #794 from doctrine/fix/preload-event-args-test

Fix PreLoadEventArgsTest for PHP 5.3

382f844b9a0d9ea3c689238b32b29f1a37508aed authored about 11 years ago
Fix PreLoadEventArgsTest for PHP 5.3

Originally introduced in commit 13338b2ad0257e9e783665c392cdf928f1396eeb for #792.

9308f4a8edfc84c07dc75c86b1e6666b25582c82 authored about 11 years ago
Merge pull request #792

85f6898395cbf5e1e831eb371b536572a4061cc6 authored about 11 years ago
Fix PreLoadEventArgs $data assignment by reference

13338b2ad0257e9e783665c392cdf928f1396eeb authored about 11 years ago
Merge pull request #787 from stephandesouza/master

Hydrator not acception DateTime objects on @ODM\Date fields

dec2bdaabae36a4e84698ba944bfad2bfa2a539f authored about 11 years ago
Hydrator not acception DateTime objects on @ODM\Date fields

~~

Exception: DateTime::__construct() expects parameter 1 to be string, object given
tests\Hydr...

8e3b5fc9c70df2b048e3bfc67e69738b74480c2c authored about 11 years ago
Merge pull request #785 from doctrine/fix/gh446

Fix issue with DocumentNotFoundException not handling non-scalar values ...

d5987070c5fd09e070530ae0fda9d4b025af75b2 authored about 11 years ago
Fix issue with DocumentNotFoundException not handling non-scalar values correctly.

Fixes #446

a2c3ddd4e376e6a85a55a944701f3cfab9e59119 authored about 11 years ago
Merge pull request #786 from doctrine/fix/gh594

Remove double flush for issue discovered in #566 which has since been fi...

aa740959a128227c87af1b4d933a129069a61508 authored about 11 years ago
Remove double flush for issue discovered in #566 which has since been fixed by #444

bca8ffb80185468ffabec5d5d9cd4448d36b9495 authored about 11 years ago
Merge pull request #784 from doctrine/fix/missing-uow-upsert-method

Add missing UnitOfWork::getScheduledDocumentUpserts() method.

97f4e99fddbb4df0f5389fd62c65211fa7b784ad authored about 11 years ago
Add missing UnitOfWork::getScheduledDocumentUpserts() method. Fixes issue reported by @mlively

505ad3763fa65f7bec33bc16624763948ee8023c authored about 11 years ago
Merge pull request #783 from vmattila/gh683

Added test cases related to #683

86cd699650410cb89827302f1637df1cfbb7756c authored about 11 years ago
Added test cases related to #683

ac9a3f7db3eb77526fa9c3672de9905da3e2908a authored about 11 years ago
Merge pull request #781 from doctrine/fix/gh759

Use null default value for ClassMetadataInfo slaveOkay

661a3b3a00a2f6e3c8502f4d9c5f93b7730fff03 authored about 11 years ago
Allow null in ClassMetadataInfo::setSlaveOkay() to revert to default

bd6bcc0ac228d45e20809adf4cb1a58603b53900 authored about 11 years ago
Merge pull request #777 from doctrine/fix/gh774

Fix/gh774

58117b98a7e4ce084ee1b51ae3316cb125f7c0cb authored about 11 years ago
Refactor collection and DB getters in DocumentManager

fc743f7602c48e127298afd6523bd1a1a448386f authored about 11 years ago
Use null default value for ClassMetadataInfo slaveOkay (fixes #759)

This ensures DocumentManager::getDocumentCollection() will not overwrite read preferences by def...

5ae8df60e368ff4916c6bb6b9cb91d7ce21d88d1 authored about 11 years ago
Test ClassMetadataInfo slaveOkay wrt DocumentManager getter (#759)

09730b7a4c88748daf3e687cb72fbe12ddfc08d3 authored about 11 years ago
Rewrite DocumentManagerMock to use reflection to expose privates

ClassMetadataFactoryTest and SchemaManagerTest required refactoring for these changes.

0c1429f0aa6262fb051ab60e416d0031914cdb7a authored about 11 years ago
Cast slaveOkay to boolean in ClassMetadataInfo setter

e7ac9de19b74f1b486c15ee808b5e6ff9df58e05 authored about 11 years ago
Remove unnecessary use statement

3f4c371508fd47905040369258e33d4d66e59260 authored about 11 years ago
Declare $proxyFactory property in DocumentManager

adbe0994ddb389f231dcd43d8ffae95ccc5fdaa4 authored about 11 years ago
Merge pull request #771 from doctrine/fix/osky-fixes

Fix/osky fixes

a7dbf77bfb8edd75f28be57cffc145c35e27ed25 authored about 11 years ago
Fix for upserting document with deferred explicit change tracking.

5bad4321cc6f68f1a950775623266f31b414cf53 authored about 11 years ago
Failing test for #774

5f28e8cf0815e6ebbca145aeab8d5b2298f6308d authored about 11 years ago
Merge pull request #773 from doctrine/fix/schedule-extra-updates

Reintroduce UnitOfWork::scheduleExtraUpdate()

46875a8ad51d4c4665aa2a13f18561e13e045832 authored about 11 years ago
Test registerManaged() with embedded documents and null ids when mapped and not mapped.

0e25826e06354b5c703f37938334d56db3d67030 authored about 11 years ago
Fix issue with scheduling embedded documents for upsert in the UnitOfWork. It results in mongodb creating a {} for an @EmbedMany which results in a "Cannot apply $push/$pushAll modifier to non-array" error when we try to $push to it later.

6638fcf71281e05a08db75b45a7c77d3d2acaff7 authored about 11 years ago
null reference $id should throw DocumentNotFoundException

d1b0ed3571048d382c58d81acbf5fcecd73c133e authored about 11 years ago
EmbedMany with mapped identifier and strategy="none" causes notice "Undefined index: id" in DocumentPersister.php line 593

e8a7a0d2d4b622d32f38d8c95c21a04fb6f564b2 authored about 11 years ago
Fix EmbedOne with mapped identifier and strategy="none" causes notice.

8ffafced2acf672f37695209e04a65b5de8fde3a authored about 11 years ago
Reintroduce UnitOfWork::scheduleExtraUpdate()

11866e20f7d4492b3c685f60aab3868511f84f49 authored about 11 years ago
Merge pull request #770 from doctrine/fix/invoke-lifecycle-callbacks-check

Fix ClassMetadataInfo::invokeLifecycleCallbacks() to use instanceof inst...

8873540c74ccdce0379a226efe693a2c56029036 authored about 11 years ago
Fix ClassMetadataInfo::invokeLifecycleCallbacks() to use instanceof instead of an exact check.

473e77c93505f33a5e7d5d0f1023782299503c3a authored about 11 years ago
Merge pull request #769 from lemoinem/fix/DRY-converting-cursor-to-array

[DocumentRepository] Use Cursor::toArray() instead of iterator_to_array()

f4a5623da2cf6e1bffecca4296cce50a68a35e49 authored about 11 years ago
[DocumentRepository] Use Cursor::toArray() instead of iterator_to_array()

As per https://github.com/doctrine/mongodb-odm/pull/752#issuecomment-32599172
by @tgabi333 and f...

a60114dcc692a275b564703fdad24ba69b271dd2 authored about 11 years ago
Merge pull request #444 from doctrine/preserve-id-types

Differentiate between ID types

be4a8a8f35a53502d904bb3c9c6ad070f1aa3baa authored about 11 years ago
Leave TODO for DocumentRepository::find() edge case (see #768)

9f8de1890d74739b59e25543d806165d0ad5e3b1 authored about 11 years ago
Changelog entry for BinDataType subtype change and BinDataByteArrayType

3171fa487876895a99c4f844d566a0e619b3a5a9 authored about 11 years ago
Extend common BinDataType class and ensure DB conversion is idempotent

11ffe95c712b9e1a6ed5c6fd65eb3ebf69f7c425 authored about 11 years ago
fix MemoryUsageTest

6e24225f2d81208b9ce6d319e7927dc1b8cb23ed authored about 11 years ago
Allow for falsey, non-null identifiers in persistNew()

dad59aa1109ceea6bfff3756c6b7b3341267ae3d authored about 11 years ago
Do not use array_unique() in case we have non-scalar identifiers

array_unique() performs string casts to compare elements, which makes it unsuitable for handling...

da0606b3152e68d9781054a807502fdaa2efc4b5 authored about 11 years ago
Group identityMap and scheduledForDirtyCheck by class

Group these arrays by class name instead of root document class. This is necessary since documen...

7f73de3efa4d9adc313274ae2b55ad7e68ef60a3 authored about 11 years ago
only prepare generated ids. No longer ensure type consistency of manually provided identifier values.

8987241a749b31572f4a066d6b7b484aa3809ae9 authored about 11 years ago
Do not recursively prepare $ne arguments in queries

This test was expecting the array argument for $ne to be prepared recursively. We should just co...

82b6504e80a6b815496b0c8d831a97fa7bec22ec authored about 11 years ago
Use IDs if available when registering embedded documents with UnitOfWork

If the identifier is not available, the SPL object hash is used. Previously, it was always used ...

cc422e43f957ba47466474535192074043c10f8e authored about 11 years ago
Update driver version check in BinDataTest, and copy fix to IdTest

848063e5dba3d7ac3f962830a0583455e8aa45b0 authored about 11 years ago
Default MongoBinData subtype to 0 and create BinDataByteArrayType for BC

Previously, BinDataType used MongoBinData::BYTE_ARRAY. That subtype, 2, is deprecated in the BSO...

173f4eaea8f010f64cd20f9ac15c15797bf7fcef authored about 11 years ago
Use base test's DocumentManager in IdTest

2d700b8901fb2053d52f65e470e03fda2c413c2d authored about 11 years ago
Fix getPartialReference() test to not use invalid identifier per mapping

This leaves a todo item for registerManaged(). As-is, this test failed because registering a doc...

681c3dba0274356116a65d34a502a7a819f87d96 authored about 11 years ago
Refactor upsert functionality. Split up documentInsertions and documentUpserts.

8251bb9bf943e6abfdb7c347fa1ad6383c795c88 authored about 11 years ago
fix date _id type.

ca94f3021dc648207da2e810639048a9f2a1adb2 authored about 11 years ago
Test preparation of hash identifiers and query operators

6a2c47f4fb0dc3c568be179eb0f9b7bd54b09b73 authored about 11 years ago
Fix query element preparation for complex identifier values

Tests cover expressions with query operators, hash type identifiers, simple/complex references, ...

6a3de12c9b1571cae7426a55ad66805918878d76 authored about 11 years ago
Use target class when preparing referenced identifiers in query objects

efc9898c2008a646475663bfddf9d30b40758593 authored about 11 years ago
fix hash _id types

58ede3658169fb7213abaff2a5d5405cc74934e3 authored about 11 years ago
Fix bin id types and add test coverage.

09362219215337abf5d5c9fb93586491a66017ac authored about 11 years ago
fix bin data types and add tests to ensure bin data type gets persisted to mongodb properly.

b053c2939c0886dc2587bcea256fadb4e9f5367b authored about 11 years ago
Add BaseTest::createTestDocumentManager() convenience method.

2cc4ee8fc103810c5d00d7a4421f1b2f45235b48 authored about 11 years ago
cast identifier values on persist.

c201387081a0146733bdc49096858fbb5c1bcb2b authored about 11 years ago
add tests for various types of identifiers.

1979a6ac12867be818cb4a91166353482b5727f7 authored about 11 years ago
Remove postInsertIds from DocumentPersister and UnitOfWork.

e2853e9454c6ad473ace421ff00d62492acaebd7 authored about 11 years ago
Add missing CmsUser::phonenumbers mappedBy configuration.

fe4a6c4e898c79403dfd2c8ce480d8373b454a0d authored about 11 years ago
Allow for non-null, falsey id values in getDocumentState()

a6579a96c77927490a763332dd3e04c4ecdf6e86 authored about 11 years ago
Make getDocumentState() consistent with ORM refactoring

d13067a43dadb46944a5d7b51c1556325abe8589 authored about 11 years ago
Fix test for handling of equal, but not identical, IDs

25ee6681c4ca36b2facd5b42cf064d0192c2f28f authored about 11 years ago
Small refactoring for UnitOfWork::doMerge()

ffa3742d4efa4e71617a18ec4db034eb8e666668 authored about 11 years ago
add test failure.

08f986a8877918577e6eeb89f53eb523d6ed3c7a authored about 11 years ago
Revise documentation for UnitOfWork::getDocumentIdentifier()

The previous documentation looks to have been a copy/paste from ORM.

57cbac7e550d9e853490381fb529941dd86be682 authored about 11 years ago
Removed scheduled extra updates, move id generation to UnitOfWork::persistNew() and throw exception when DocumentManager::createDBRef() is called on an object without an identifier.

1870e3ce8129f0f72fba75759b1d10cc1e4d466e authored about 11 years ago
port remaining functionality from orm merge() functionality.

2d6be014b1a5689db5eb231906846665bb57d451 authored about 11 years ago
Support non-null, falsey identifiers and getIdentifierObject() in more places

1ac97ed54183e3dcb5838ec08e8a7c8b5061fb85 authored about 11 years ago
Refactor UnitOfWork::doMerge() based on ORM

45102551f8252cf8339c4d3a5ab5bae0614d5cf9 authored about 11 years ago
add failing assertion to DetachedDocumentTest

8698586ad7628c7572ab46b3b72364c3f14fd19f authored about 11 years ago
fix GH580Test failure from exception not cleaning up queuedInserts

f9ffb5388692745936cc8898519d3dd47c7a4249 authored about 11 years ago
Test case for equal, but not identical, document ID's

89421f8093f88841e7fedb026674e1db10adf458 authored about 11 years ago
Differentiate between ID types in UoW's identity map

Previous use of document IDs as array indexes lead to ambiguity when handling numeric strings. S...

57c7df54f83c3772f7a195877de233a383d9ea3b authored about 11 years ago
Fix grammar in UnitOfWork documentation

9823383c57cff87f917870a0e5924e68d0c1027e authored about 11 years ago
Merge pull request #742

64ed80722a6395f4a65f3686005682fbca1c3f3f authored about 11 years ago
Changelog entry for DocumentRepository findAll/findBy return values

06aa674208ffd235f61fe4501b7c93f924b8a6a7 authored about 11 years ago
Return array instead of Cursor in DocumentRepository findAll() and findBy()

This is a BC break, but fixes DocumentRepository's contract with the ObjectRepository interface....

47cc457e067501a36d8d328b0aa0fdcb3bd499b5 authored about 11 years ago
Merge pull request #767 from doctrine/fix/gh763

Allow ClassMetadata to invoke lifecycle callbacks on proxies

961d3eeb3cf5424c1467c351ced5a06f1d31bcb8 authored about 11 years ago
Allow ClassMetadata to invoke lifecycle callbacks on proxies (fix #763)

816495d4d5ea593d2dd77e24d81b5b5883d8424d authored about 11 years ago
Use more specific class names for AbstractMappingDriverTest models

b71fdbd6712ed80678ad686c84f5f8d3927ca717 authored about 11 years ago
Merge pull request #754 from doctrine/fix/performance-tests

Add a few more performance tests.

baab4bc755e69986385d5727387d4a3eb5ba23a1 authored about 11 years ago
Merge pull request #756 from doctrine/tystr-remove-single-document-1

Fix remove and flush of single documents

d53bc3c27b2d6244d14063f0c058e338cd4136bb authored about 11 years ago
Added a test case for #567

e61a9f428a497dc88a4f963bec8b6bbfbba4cea3 authored about 11 years ago
fix single document flush with a document scheduled for removal. fixes #567 #755

965ac532b5b25ea33d5e33fce31c4affdfa35db3 authored about 11 years ago
Add a few more performance tests.

b7c5158542e5be7541187edbd2f71b33be765c61 authored about 11 years ago
Merge pull request #428 from doctrine/fix/gh427

Reintroduce HasLifecycleCallbacks annotation.

dd838e5856e40592a529a1a2f78c6cc55d7ccb65 authored about 11 years ago
Changelog entry for HasLifecycleCallbacks and AlsoLoad

1d455d23a3395e0e56719c7fbb46e060197030b5 authored about 11 years ago
ClassMetadata should only invoke lifecycle callbacks on its own objects

Since each mapped document class has its own ClassMetadata, we can expect the exact class and re...

5bb9afa083e3f5ae7bc97487cd3515fe36251972 authored about 11 years ago
Do not allow duplicate lifecycle callbacks to be registered

Using the method name as a key in lifecycleCallbacks will ensure that methods are never register...

59a67f3f29020f6dfc82b7446c6140b4010d8681 authored about 11 years ago
Optimize checks for lifecycle callbacks and listeners

8057c71446d304a18b451a670b3439e1493e478e authored about 11 years ago
wip

18c3c767106aca550897060721e4f0205b09eb42 authored about 11 years ago
Handle AlsoLoad methods like properties and without HasLifecycleCallbacks

AlsoLoad method annotations will no longer require the HasLifecycleCallbacks class annotation. T...

82245cbb4b6ae9b5623326369a76341ad10ebea9 authored about 11 years ago