diff --git a/application/Espo/ORM/DB/Mapper.php b/application/Espo/ORM/DB/Mapper.php index 8e4d99f142..d8f4307a47 100644 --- a/application/Espo/ORM/DB/Mapper.php +++ b/application/Espo/ORM/DB/Mapper.php @@ -864,9 +864,9 @@ abstract class Mapper implements IMapper if ($type == IEntity::FOREIGN) { continue; - } + } - if ($entity->getFetched($field) === $value) { + if ($entity->getFetched($field) === $value && $type != IEntity::JSON_ARRAY && $type != IEntity::JSON_OBJECT) { continue; }