AnsweredAssumed Answered

How to fix initialization order of custom code in sidecar?

Question asked by Andrew Wong on Oct 2, 2017
Latest reply on Oct 16, 2017 by André Lopes

We have some custom code to set some default values when converting a lead to Account.

That was working on SugarCRM 7.7, however, after upgraded to 7.9 the custom code break the convert-panel layout.

 

After further troubleshooting we found that the BaseLeadsCustomConvertPanelLayout is initialized before BaseLeadsConvertPanelLayout.

 

If I manually put the customConvert-panel after convert-panel in cache/javascript/base/components_XXXX.js, the custom code works again.

 

As components_XXXX.js is generated by quick repair and rebuild, how can I control / fix the order it is generated?

 

sidecar, quick repair and rebuild

Outcomes