<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">In my experience it could be much better to avoid any possible problem by just migrating the database after disabling custom modules and using new unzipped vtiger 7.3 files, and then just copy back custom modules files and enable them again in module manager. What do you think?  <br><br><div dir="ltr"><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><div style="word-wrap: break-word; "><span style="border-collapse: separate; "><div style="background-color: rgba(255, 255, 255, 0); word-wrap: break-word; "><div class="ApplePlainTextBody" style="font-family: Helvetica; font-size: 14px; -webkit-text-size-adjust: auto;">_______________<br><br>Angelo Paglialonga<br>Consulente per soluzioni CRM ad alto ROI.<br><br>Telefono: 3386077866<br>Skype: angelo.paglialonga<br>Web: https://www.angelopaglialonga.com</div><div class="ApplePlainTextBody" style="font-family: Helvetica; font-size: 14px; -webkit-text-size-adjust: auto;"><br></div></div></span></div></span></div></span></div></span></div></span></span></span></span></span></span></span></span></span></span></span></div></span></div></span></div></span></div><div dir="ltr"><br><blockquote type="cite">Il giorno 1 lug 2021, alle ore 16:59, Alan Lord <alanslists@gmail.com> ha scritto:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Yep. There are a whole heap of issues with the way the migration process works...</span><br><span></span><br><span>I just came across this one I added 3 years ago.</span><br><span></span><br><span>https://code.vtiger.com/vtiger/vtigercrm/issues/846</span><br><span></span><br><span>No comments from anyone else though :-(</span><br><span></span><br><span>I'll keep to my heavily customised [i.e. bastardised] cli-based migration scripts for now then.</span><br><span></span><br><span>Al</span><br><span></span><br><span></span><br><span>On 01/07/2021 15:45, Martin Allen wrote:</span><br><blockquote type="cite"><span>So by calling the Install_Utils_Model::installModules(); function it is basically re-installing certain modules (any modules that have a schema in the zip files in /packages directories) and part of that process is that for related lists, as you guessed Alan, it deletes ALL related Lists before then rebuilding all the related lists from the schema in the zip files - which are set on installation of vTiger?</span><br></blockquote><blockquote type="cite"><span>-----Original Message-----</span><br></blockquote><blockquote type="cite"><span>From: vtigercrm-developers-bounces@lists.vtigercrm.com <vtigercrm-developers-bounces@lists.vtigercrm.com> On Behalf Of Alan Lord</span><br></blockquote><blockquote type="cite"><span>Sent: 01 July 2021 15:34</span><br></blockquote><blockquote type="cite"><span>To: vtigercrm-developers@lists.vtigercrm.com</span><br></blockquote><blockquote type="cite"><span>Subject: Re: [Vtigercrm-developers] 711 to 720 update</span><br></blockquote><blockquote type="cite"><span>Anything to do with this one?</span><br></blockquote><blockquote type="cite"><span>https://code.vtiger.com/vtiger/vtigercrm/issues/1003</span><br></blockquote><blockquote type="cite"><span>If not it is probably because part of the module install routine maybe called remove related lists before recreating them?</span><br></blockquote><blockquote type="cite"><span>Check the various module install and enable/disable events passed to the vtlib_handler in the module's class file.</span><br></blockquote><blockquote type="cite"><span>Al</span><br></blockquote><blockquote type="cite"><span>On 01/07/2021 15:28, Martin Allen wrote:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Okay - so digging into this further whenever the 711 to 720 update is</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>run (so if your updating vTiger from any version before 711 to 720 or</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>higher) then the following modules will have ALL related lists deleted,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>and ONLY the default related lists are restored....</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>ServiceContracts</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>ProjectTasks</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Services</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Assets</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Project</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>SMSNotifier</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Again - WHY??</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*From:*vtigercrm-developers-bounces@lists.vtigercrm.com</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span><vtigercrm-developers-bounces@lists.vtigercrm.com> *On Behalf Of *Martin</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Allen</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*Sent:* 01 July 2021 15:10</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*To:* vtigercrm-developers@lists.vtigercrm.com</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*Subject:* [Vtigercrm-developers] 711 to 720 update</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Does anyone know why I the 711_to_720.php migration schema there is a</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>call to Install_Utils_Model::installModules();</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>We've just updated some CRMs and afterwards we have multiple Related</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Lists in Project Tasks module that are deleted, and also related lists</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>that are now duplicated, and so far we have narrowed it down to being</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>caused by this function...?</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>*Martin Allen*</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>**</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>**</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>01392 690659 (Direct)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>01392 248692 (Main Office)</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The information in this email is confidential If you are not the</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>intended recipient, you must not read or use that information. This</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>email and any attachments are believed to be virus free however no</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>responsibility is accepted by Exe Squared Ltd for any loss or damage</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>arising in any way from receipt or use thereof. Exe Squared Ltd Company</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Reg Number 12185709, is based at Silverdown Park, Fair Oak Close, Exeter</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Airport Business Park EX5 2UX.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>_______________________________________________</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>http://www.vtiger.com/</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>http://www.vtiger.com/</span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>http://www.vtiger.com/</span><br></blockquote><span>_______________________________________________</span><br><span>http://www.vtiger.com/</span><br></div></blockquote></body></html>