Duplicate Relationships and Subpanels in Cases

Dear SugarClub Members, 

We have a number of duplicate relationships in the Cases module. These relationships may have been created in Studio but are now not able to be removed from Studio. 

With the duplicate relationships, it has also created duplicate Subpanels in the Cases Record view. 

I have contacted Sugar Support regarding this issue, and they have advised me that it is related to the Bug #90534.

https://portal.sugarondemand.com/#supp_Bugs/90534

The workaround that they have provided was to remove the relationships by removing a number of the custom php files that related to the relationships. While this did remove the subpanels, it also prevented any new related records being added to cases. i.e. producing a "HTTP: 500 Internal Server Error" in the browser and "[4319][38ce6546-76a5-11e9-929b-d27c7d704edb][ERROR] Unable to find relationship cases_activities_1_calls" in the error log. 

Sugar support has advised me to wait for a fix to the bug or to reach-out to the Sugar Community to see if anyone else has experienced this issue. 

I would be happy with just finding a way to hide the Subpanels on the Cases Record view, that would be a win for me. 

Thanks to anyone who might have a solution or experienced the same issue. 

Regards

Peter

Parents
  • Hi Peter,

    If you want to delete the relationships through code you have to be extremely cautious and know what and all files needs to be deleted to delete a relationship subpanel. If you are experiencing the issue to delete the files and If you want to just hide the subpanels from the layout you can do that by following this link

    Note: Please make sure you pass the correct subpanel link name in the code and it should perfectly work for you.

    Hope this information helps you:)

    Thanks and Regards,

    PK,

    Senior Solution Engineer.

    www.bhea.com

Reply
  • Hi Peter,

    If you want to delete the relationships through code you have to be extremely cautious and know what and all files needs to be deleted to delete a relationship subpanel. If you are experiencing the issue to delete the files and If you want to just hide the subpanels from the layout you can do that by following this link

    Note: Please make sure you pass the correct subpanel link name in the code and it should perfectly work for you.

    Hope this information helps you:)

    Thanks and Regards,

    PK,

    Senior Solution Engineer.

    www.bhea.com

Children
No Data