Commit 0ca9b71 1 parent 5807132 commit 0ca9b71 Copy full SHA for 0ca9b71
File tree 1 file changed +2
-1
lines changed
src/wcmf/lib/persistence/concurrency/impl
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 24
24
use wcmf \lib \persistence \PersistenceFacade ;
25
25
use wcmf \lib \persistence \PersistentObject ;
26
26
use wcmf \lib \persistence \ReferenceDescription ;
27
+ use wcmf \lib \persistence \TransientAttributeDescription ;
27
28
28
29
/**
29
30
* Default ConcurrencyManager implementation.
@@ -143,7 +144,7 @@ public function checkPersist(PersistentObject $object) {
143
144
foreach ($ it as $ valueName => $ originalValue ) {
144
145
$ attribute = $ mapper ->getAttribute ($ valueName );
145
146
// ignore references
146
- if (!($ attribute instanceof ReferenceDescription)) {
147
+ if (!($ attribute instanceof ReferenceDescription) && !( $ attribute instanceof TransientAttributeDescription) ) {
147
148
$ currentValue = $ currentState ->getValue ($ valueName );
148
149
if (strval ($ currentValue ) != strval ($ originalValue )) {
149
150
if (self ::$ logger ->isDebugEnabled ()) {
You can’t perform that action at this time.
0 commit comments