Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-624

getUserlistID should be passed a user's full login string, not just a unityid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3.1, 2.4
    • web gui (frontend)
    • None

    Description

      The utils.php:getUserlistID() function expects a loginid value, but there are places in the web code where it is being passed a unityid (i.e. the loginid stripped of an AFFILIATION) instead. There are also some naming conventions, such as in utils.php:addUserGroupMember() where the variables suggest the use of a $unityid, but in reality, these are $loginid values.

      The only place where this is really an issue is in updateRequest() – and then only if the system is using a custom set of findAffilFuncs that don't set a default affiliation. And there, the call to getUserlistID appears to be entirely superfluous.

      Attachments

        Activity

          People

            acoburn Aaron Coburn
            acoburn Aaron Coburn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: