diff --git a/apps/maarch_entreprise/xml/config.xml.default b/apps/maarch_entreprise/xml/config.xml.default
index 9cf6d7ead4238112299b03bce8cb5d7c8264be29..34dd3c6e87c86cec58a2d707c5e539559ecd6aa8 100755
--- a/apps/maarch_entreprise/xml/config.xml.default
+++ b/apps/maarch_entreprise/xml/config.xml.default
@@ -65,11 +65,6 @@
         <script_search_result>list_results_attachments.php</script_search_result>
         <script_details>details_attachments.php</script_details>
     </COLLECTION>
-    <COLLECTION>
-        <id>archive_transfer_coll</id>
-        <label>_ARCHVIE_TRANSFER_COLL</label>
-        <table>message_exchange</table>
-    </COLLECTION>
     <HISTORY>
         <usersdel>true</usersdel>
         <usersban>true</usersban>
diff --git a/migration/19.12/migrateFullText.php b/migration/19.12/migrateFullText.php
index 95d49756db47785af39e19cc5f6baef4bfc2faa0..39a9192bfc58bfd7d8db5f5f28469f1e11d3e7ba 100644
--- a/migration/19.12/migrateFullText.php
+++ b/migration/19.12/migrateFullText.php
@@ -26,9 +26,8 @@ foreach ($customs as $custom) {
                 $collId = 'letterbox_coll';
             } elseif ((string)$collection->table == 'res_attachments') {
                 $collId = 'attachments_coll';
-            } elseif ((string)$collection->table == 'res_version_attachments') {
-                $collId = 'attachments_version_coll';
             } else {
+                unset($xmlfile->COLLECTION[$i]);
                 continue;
             }
 
diff --git a/migration/19.12/migrateVersionAttachments.php b/migration/19.12/migrateVersionAttachments.php
index 234c7239c4c469202199170cd28412580622e601..55d9a24426ba1e3b7eb2743859254accd44300fa 100644
--- a/migration/19.12/migrateVersionAttachments.php
+++ b/migration/19.12/migrateVersionAttachments.php
@@ -1,5 +1,7 @@
 <?php
 
+use SrcCore\models\CoreConfigModel;
+
 require '../../vendor/autoload.php';
 
 chdir('../..');
@@ -19,6 +21,14 @@ foreach ($customs as $custom) {
         'where' => ['relation > 1']
     ]);
 
+    $superadmin = \User\models\UserModel::getByLogin(['select' => ['id'], 'login' => 'superadmin']);
+    if (empty($superadmin)) {
+        $firstMan = \User\models\UserModel::get(['select' => ['id'], 'orderBy' => ['id'], 'limit' => 1]);
+        $masterOwnerId = $firstMan[0]['id'];
+    } else {
+        $masterOwnerId = $superadmin['id'];
+    }
+
     $migrated = 0;
     $attachmentsInfo = \SrcCore\models\DatabaseModel::select([
         'select'   => ['res_id', 'title', 'subject', 'description', 'type_id', 'format', 'typist', 'creation_date', 'fulltext_result', 'author', 'identifier', 'source', 'relation', 'doc_date', 'docserver_id', 'path', 'filename', 'offset_doc', 'fingerprint', 'filesize', 'status', 'destination', 'validation_date', 'effective_date', 'origin', 'priority', 'initiator', 'dest_user', 'res_id_master', 'attachment_type', 'dest_contact_id', 'dest_address_id', 'updated_by', 'is_multicontacts', 'in_signature_book', 'signatory_user_serial_id', 'in_send_attach', 'external_id', 'attachment_id_master'],
@@ -63,6 +73,7 @@ foreach ($customs as $custom) {
         migrateEmailsVersion(['oldResId' => $oldResId, 'newResId' => $newResId]);
         migrateMessageExchangeVersion(['oldResId' => $oldResId, 'newResId' => $newResId]);
         migrateShippingVersion(['oldResId' => $oldResId, 'newResId' => $newResId]);
+        migrateFullText(['newResId' => $newResId, 'customId' => $custom, 'userId' => $masterOwnerId]);
 
         $migrated++;
     }
@@ -156,3 +167,9 @@ function migrateShippingVersion($args = [])
         'data'  => [$args['oldResId'], 'true']
     ]);
 }
+
+function migrateFullText($args = [])
+{
+    $GLOBALS['id'] = $args['userId'];
+    exec("php src/app/convert/scripts/FullTextScript.php --customId {$args['customId']} --resId {$args['newResId']} --collId attachments_coll --userId {$GLOBALS['id']} > /dev/null");
+}
diff --git a/src/app/contentManagement/controllers/MergeController.php b/src/app/contentManagement/controllers/MergeController.php
index 6e73df5e1da10f5d1df3bc25b59c82e3ccb150c7..d5242c2c85e51372e72d9fcfc23d6a058eaef033 100644
--- a/src/app/contentManagement/controllers/MergeController.php
+++ b/src/app/contentManagement/controllers/MergeController.php
@@ -249,24 +249,24 @@ class MergeController
             }
         }
 
-        //Datetime
-        $datetime = [
-            'date'  => date('d-m-Y'),
-            'time'  => date('H:i')
-        ];
-
-        // Custom fields
+        //CustomFields
         $customFields = [];
         if (!empty($args['customFields'])) {
             foreach ($args['customFields'] as $key => $customField) {
                 if (is_array($customField)) {
-                    $customFields[$key] .= implode("\n", $customField);
+                    $customFields[$key] = implode("\n", $customField);
                 } else {
-                    $customFields[$key] .= $customField;
+                    $customFields[$key] = $customField;
                 }
             }
         }
 
+        //Datetime
+        $datetime = [
+            'date'  => date('d-m-Y'),
+            'time'  => date('H:i')
+        ];
+
         $dataToBeMerge['res_letterbox']     = $resource;
         $dataToBeMerge['initiator']         = empty($initiator) ? [] : $initiator;
         $dataToBeMerge['parentInitiator']   = empty($parentInitiator) ? [] : $parentInitiator;
@@ -280,8 +280,8 @@ class MergeController
         $dataToBeMerge['copies']            = $copies;
         $dataToBeMerge['contact']           = [];
         $dataToBeMerge['notes']             = $mergedNote;
-        $dataToBeMerge['datetime']          = $datetime;
         $dataToBeMerge['custom']            = $customFields;
+        $dataToBeMerge['datetime']          = $datetime;
 
         return $dataToBeMerge;
     }
diff --git a/src/app/convert/scripts/FullTextScript.php b/src/app/convert/scripts/FullTextScript.php
index 6255be9bdc127ae755235343a1b6ee62d783e286..b1cceeb84566a7452b4fdf8d63285ed558d3863f 100644
--- a/src/app/convert/scripts/FullTextScript.php
+++ b/src/app/convert/scripts/FullTextScript.php
@@ -94,21 +94,13 @@ class FullTextScript
             if ($args['collId'] == 'letterbox_coll') {
                 ResModel::update(['set' => ['fulltext_result' => 'SUCCESS'], 'where' => ['res_id = ?'], 'data' => [$args['resId']]]);
             } else {
-                AttachmentModel::update([
-                    'set'       => ['fulltext_result' => 'SUCCESS'],
-                    'where'     => ['res_id = ?'],
-                    'data'      => [$args['resId']]
-                ]);
+                AttachmentModel::update(['set' => ['fulltext_result' => 'SUCCESS'], 'where' => ['res_id = ?'], 'data' => [$args['resId']]]);
             }
         } else {
             if ($args['collId'] == 'letterbox_coll') {
                 ResModel::update(['set' => ['fulltext_result' => 'ERROR'], 'where' => ['res_id = ?'], 'data' => [$args['resId']]]);
             } else {
-                AttachmentModel::update([
-                    'set'       => ['fulltext_result' => 'ERROR'],
-                    'where'     => ['res_id = ?'],
-                    'data'      => [$args['resId']]
-                ]);
+                AttachmentModel::update(['set' => ['fulltext_result' => 'ERROR'], 'where' => ['res_id = ?'], 'data' => [$args['resId']]]);
             }
             LogsController::add([
                 'isTech'    => true,