#990: querying for a cached, modified object overwrites the changes
----------------------+-----------------------------------------------------
Reporter: dball | Owner: romanb
Type: defect | Status: new
Priority: minor | Milestone: 2.0.0
Component: Caching | Version: 0.11.0
Resolution: | Keywords: dirty modified cache
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
----------------------+-----------------------------------------------------
Comment (by adamthehutt):
This is a really big problem, IMO, and shouldn't wait until 2.0 unless
absolutely necessary. I experience lots of WTFs because of this that are
very hard to track down. In large OO-systems it's quite common for the
same object to be "fetched" in unrelated sections of code, and the
behavior of silently and mysteriously overwriting the most current version
of the object is totally counterintuitive.
I understand the concern about BC, so perhaps I can second sigma's
suggestion that there should be a way of handling this pre 2-0 on a
configuration basis.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/990#comment:8>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---