7.8.10 Fresh install - All subpanels empty

After afresh install, every subpanel on every module is empty. I have create an account and associated a Contact to that account but the Contacts subpanel show the title and the expand/contract double arrows but no content. All standard subpanels show this.

I believe permissions are correct and have rebuilt relationships and Quick Repair. Still nothing.

Help!

It seems to be a problem for Suite 7 and Suite R themes. Suite P looks ok. Possibly related to https://github.com/salesagility/SuiteCRM/pull/4841

SuitePImproved2 is also not working.

I copied the include/Subpanel directory from a 7.8.7 instance and now the subpanels are back and looking correct.

For reference, the changed files are
SubPanel/SubPanelDefinitions.php
SubPanel/SubPanel.js
SubPanel/SubPanel.php
SubPanel/SubPanelTiles.js
SubPanel/SubPanelTiles.php
SubPanel/SubPanelViewer.php
SubPanel/tpls/SubPanelDynamic.tpl

It’s actually related to this https://github.com/salesagility/SuiteCRM/pull/4706

If you go to your system settings and disable Collapsed Subpanels they’ll work.

The author of the commit I referenced updated the SuiteP theme to handle his commit but not the legacy themes. Reverting SubPanelTiles.php to the previous version fixes the issue for now. I’ve confirmed that reverting the async loading commit doesn’t fix this.

I’ve also submitted a bug on git. Anyone with an account please comment and confirm the bug so we can get the ball rolling on a fix.
https://github.com/salesagility/SuiteCRM/issues/5027

Sorry for the double reply, I’ve found the issue and have a fix for it.

On line 347 of \include\SubPanel\SubPanelTiles.php we need to modify the behavior of the call the to the showSubPanel function

right now its

showSubPanel('".$tab."',null,null,'".$layout_def_key."')

it needs to be

showSubPanel('".$tab."',null,true,'".$layout_def_key."')

changing the third argument to true forces a reload of the subpanel when the function is called.