When changing the API-Key of the Cleverreach configuration (to a key of another account) multiple errors and notifications occur, when a block configuration already has been stored for the old access.

On admin/config/services/cleverreach

Notice: Trying to get property of non-object in CleverReachBlockUIController->overviewTableRow() (line 66 of /Users/derhasi/WebWork/clients/zag/pages/zag_prochance/docroot/sites/all/modules/drupal/cleverreach/src/CleverReachBlockUIController.php).

On admin/config/services/cleverreach/manage/...

Fatal error: Call to a member function getAllAttributes() on a non-object in /Users/derhasi/WebWork/clients/zag/pages/zag_prochance/docroot/sites/all/modules/drupal/cleverreach/cleverreach.admin.inc on line 185

This is due to the missing groups for the new account. Some handling is needed to deal with "Missing groups".

CommentFileSizeAuthor
#1 multiple_errors_when-2466789-1.patch660 bytesderhasi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

derhasi’s picture

Status: Active » Needs review
FileSize
660 bytes

With providing a "Missing group" Group, the problem should be solved. See attached patch.

das-peter’s picture

@derhasi Thanks for the patch. Just added this to the 7.x-2.x fork I started here: https://github.com/CandoImage/drupal_cleverreach/tree/7.x-2.x

braintoilet’s picture

Status: Needs review » Closed (fixed)

Thanks for the patch. added