salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.27k stars 2.03k forks source link

Correctly find the id of related objects in search results #10400

Open isleshocky77 opened 2 months ago

isleshocky77 commented 2 months ago

When a search results contain records which have related links in them; the link to the related record does not contain the correct related record id. This causes the link to go to a page with an error message of Error retrieving record. This record may be deleted or you may not be authorized to view it.

NOTE This bug is documented in Pull Request #9823 which seems to only have not been merged due to the formatting of the Pull Request itself.

This issue affects all previous versions of 7.12.x - 7.14.x

Description

search-result-bad-link

Motivation and Context

When searching for a record which has a related record, a user may want to click on the related record. Currently, the user will be shown a link to the related record; however, it will 404 when clicking on it.

How To Test This

Types of changes

Final checklist

serhiisamko091184 commented 2 months ago

Hello @isleshocky77,

thanks for your contribution to the SuiteCRM project!

Regards, Serhii