Project page is broken if there is an Account related in 7.10.9

Issue
Relate an account to a project, then reload the project page.
The display is broken. No subpanel is displayed.
There is no error in the SuiteCRM log and no error in Apache.

Expected Behavior
The project page should display all subpanels.

Actual Behavior
The display is broken.
No subpanel is displayed.

Steps to Reproduce
Open a project
Select an account from the subpanel
Reload the project page

Environment
SuiteCRM Version used: 7.10.9 and https://demo.suiteondemand.com
Environment name and version (e.g. MySQL, PHP 7): PHP 7
Operating System and version (e.g Ubuntu 16.04): Ubuntu 17

https://github.com/salesagility/SuiteCRM/issues/6361

This is fixed in 7.10.10, you can test it on the nightly build

https://nightly.suiteondemand.com
user: will
pass: will

1 Like

Good news.

What is the quick fix ? We can not wait for the next release.

I’m trying to find out. But there’s an easy one you can try, please go in

include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButtonAccount.php

and change this

if (!$layout_def['EditView'])

to this

if (!$layout_def['EditView']) {
1 Like

Yes. It solves the problem.