From cf79456ff36ba71ca1e7cbc0a66883435419093a Mon Sep 17 00:00:00 2001 From: Guillaume Lajarige Date: Thu, 31 Aug 2017 13:34:50 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B0583.2=20Fixed=20regression=20introduced?= =?UTF-8?q?=20in=20r4861.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[4885] --- core/bulkchange.class.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/bulkchange.class.inc.php b/core/bulkchange.class.inc.php index 5658c96aa..08be60d0f 100644 --- a/core/bulkchange.class.inc.php +++ b/core/bulkchange.class.inc.php @@ -1,5 +1,5 @@ m_aAttList as $sAttCode => $iCol) { + $oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode); + // skip the private key, if any if ($sAttCode == 'id') continue; // skip reconciliation keys - if (in_array($sAttCode, $this->m_aReconcilKeys)) continue; + if (!$oAttDef->IsWritable() && in_array($sAttCode, $this->m_aReconcilKeys)){ continue; } $oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode); $aReasons = array(); @@ -1308,5 +1310,3 @@ EOF } } - -?>