Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Match 1.0.0 (Suitable Pear)
-
None
-
PHP 7.3.8
Postgres 11.5.1
Windows Server 2019
Description
Attempt to install English nicknames results in 500/Internal error status. Error message is "Could not find Primary Link attribute_map_id". This attribute is present in the request URL query values. "/attribute-mappings/install?attribute_map_id=1?mapping=nicknames.en"
Digging into AppController.php "getPrimaryLink", which is called with $lookup=true, It looks like when $this->request->getParam('action') is 'install', both allowUnkeyedPrimaryLink and allowLookupPrimaryLink result in False, meaning that there is no logic that copies the query parameter into the variable $this->cur_pl['linkvalue'] (Line 175)
I put in a hackaround to force this copy and ran into the same impact in AppController.php "setMatchGrid" (Line 255).