Skip to main content

KI-60

Account Search Handler not querying all account fields

Key/Summary

KI-60 Account Search Handler not querying all account fields

Status

Done

Created

06/03/2021

Updated

11/15/2021

Description

Suppressing an Account search result field at the Country level caused an "SObject row was retrieved via SOQL without querying the requested field" error to be thrown.

A hotfix for this known issue was issued. For more information about hotfixes, see https://help.mavens.com/mic-inquiry/en/releases/release-process.html#maintenance-releases.

Impacted Capabilities

Affected Apps

Medical Information Cloud - Classic

Medical Information Cloud - Lightning

Affects Versions

MIC V10

Fix Version

MIC V10.0.1

Steps to Reproduce

  1. Include MED_AccountSearchHdlr in the Account Search Handler field in the Global Setting custom metadata type.

  2. Configure a field to show the Account search results as a global default.

  3. Set the search results order to 0 to suppress it from the results for that country.

  4. Search for an account in any country that is NOT the country the field is suppressed for. The field is not queried and will throw an "SObject row was retrieved via SOQL without querying the requested field" error.

Workaround

Do not exclude any fields from search results for any countries. Instead, include fields as secondary results if you don’t want it showing in the main results column.