What are the files in Sugar 11 that are called orderMapping.php?

& -

Sugar 11 has added a bunch of new files in the custom directory with the name orderMapping.php. Can you explain what these files are used for? Do they get rebuilt via QRR? 

They causing havoc with Source Code Control.

Example custom/Extension/modules/Opportunities/Ext/LogicHooks/orderMapping.php

<?php
// created: 2021-03-26 10:56:52
$extensionOrderMap = array (
  'modules/Opportunities/Ext/LogicHooks/DeleteOpportunity.php' =>
  array (
    'md5' => '38db1da780d6b18f38b7cb5472758c17',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/FixWorksheetAccountAssignment.php' =>
  array (
    'md5' => '9aa1f6f0d6be9066c4f142f9af8db4ea',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/GenerateRenewalOpportunity.php' =>
  array (
    'md5' => '207fa6307d110a83eba589f7ed82082d',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/OpportunitySalesStatus.php' =>
  array (
    'md5' => 'c35c3364902925e5a15e2cc82e38062e',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/OpportunitySyncWorksheet.php' =>
  array (
    'md5' => '97276a801d4a0c4d0b40e0dca02a6ca4',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/QueuePurchaseGeneration.php' =>
  array (
    'md5' => 'de3fe02382aacc28473b01b831b74814',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/SetCommitStageForClosedWon.php' =>
  array (
    'md5' => 'bf9f44d5d332a045ceeddb7c2557ed14',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/SetForecastCommitStage.php' =>
  array (
    'md5' => '5c1669e98c87c034c284be74b061e5bf',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
  'modules/Opportunities/Ext/LogicHooks/SyncBestWorstWithLikely.php' =>
  array (
    'md5' => 'cff052a0a6215992ef2e9004f9983c36',
    'mtime' => 1612792956,
    'is_override' => false,
  ),
);

Parents Reply Children
  • ,

    This functionality was developed as part of a bug fix for #72177. In some conditions (especially when conflicting customisations were developed) there was the risk that the merging order of files might change when an instance's file system is copied/moved, depending on the type of file system used.

    These new files store the order of the first time the customisation file is found (and should not be messed with), so that going forward, the customisations are merged in the order on which are first encountered, independently from the file timestamp.

    My take is that you should version those files, so that your system's merging consistency is kept intact

    Cheers

    --

    Enrico Simonetti

    Sugar veteran (from 2007)

    www.naonis.tech


    Feel free to reach out for consulting regarding:

    • API Integration and Automation Services
    • Sugar Architecture
    • Sugar Performance Optimisation
    • Sugar Consulting, Best Practices and Technical Training
    • AWS and Sugar Technical Help
    • CTO-as-a-service
    • Solutions-as-a-service
    • and more!

    All active SugarCRM certifications

    Actively working remotely with customers based in APAC and in the United States