Contact Notes cannot be viewed, when CiviMobile is active
When the CiviMobile extension is activated, it is not possible to view contact notes. Strangely, however, editing contact notes is possible.
The Drupal watchdog wrote these messages:
$Fatal Error Details = array:3 [ "message" => "Expected to find one Note record, but there were multiple." "code" => null "exception" => CRM_Core_Exception {#1408 -errorData: array:1 [ "error_code" => 0 ] #cause: null -_trace: null #message: "Expected to find one Note record, but there were multiple." #code: 0 #file: "/html/sites/all/modules/civicrm/CRM/Utils/Array.php" #line: 1232 trace: { /html/sites/all/modules/civicrm/CRM/Utils/Array.php:1232 { › else { › throw new \CRM_Core_Exception("Expected to find one {$recordTypeLabel}, but there were multiple."); › } } /html/sites/all/modules/civicrm/Civi/Api4/Generic/Result.php:90 { …} /html/sites/all/modules/civicrm/CRM/Contact/Page/View/Note.php:37 { …} /html/sites/all/modules/civicrm/CRM/Contact/Page/View/Note.php:187 { …} /html/sites/all/modules/civicrm/CRM/Core/Invoke.php:319 { …} /html/sites/all/modules/civicrm/CRM/Core/Invoke.php:69 { …} /html/sites/all/modules/civicrm/CRM/Core/Invoke.php:36 { …} /html/sites/all/modules/civicrm/drupal/civicrm.module:471 { …} /html/includes/menu.inc:527 { …} /html/index.php:21 { …} } } ]
$backTrace = #0 /html/sites/all/modules/civicrm/CRM/Core/Error.php(441): CRM_Core_Error::backtrace("backTrace", TRUE) #1 /html/sites/all/modules/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(CRM_Core_Exception)) #2 /html/sites/all/modules/civicrm/drupal/civicrm.module(471): CRM_Core_Invoke::invoke((Array:4)) #3 /html/includes/menu.inc(527): civicrm_invoke("contact", "view", "note") #4 /html/index.php(21): menu_execute_active_handler() #5 {main}