Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1792

Cannot install English Nicknames in snapshot dated 8/25/2019

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • COmanage Match 1.0.0 (Suitable Pear)
    • Match
    • 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).

       

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            ross.wilper@at.internet2.edu Ross Wilper (stanford.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: