Skip to content

accepting PI request fails for the first time for a new organization #124

@simonLeary42

Description

@simonLeary42
[Tue Mar 11 15:22:17.921155 2025] [php:notice] [pid 806717] [client 10.1.10.132:58778] No LDAP entry for cn=dartmouth_edu,ou=org_groups,dc=unity,dc=rc,dc=umass,dc=edu
[Tue Mar 11 15:22:20.803642 2025] [php:error] [pid 806717] [client 10.1.10.132:58778] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /srv/www/unity-web-portal-2024-1-30/resources/lib/UnityOrg.php:65\nStack trace:\n#0 /srv/www/unity-web-portal-2024-1-30/resources/lib/UnityOrg.php(65): in_array()\n#1 /srv/www/unity-web-portal-2024-1-30/resources/lib/UnityUser.php(108): UnityWebPortal\\lib\\UnityOrg->inOrg()\n#2 /srv/www/unity-web-portal-2024-1-30/resources/lib/UnityGroup.php(143): UnityWebPortal\\lib\\UnityUser->init()\n#3 /srv/www/unity-web-portal-2024-1-30/webroot/admin/pi-mgmt.php(22): UnityWebPortal\\lib\\UnityGroup->approveGroup()\n#4 {main}\n  thrown in /srv/www/unity-web-portal-2024-1-30/resources/lib/UnityOrg.php on line 65

after approving, blank white screen, and then the dartmouth_edu org group is created, and approval works the next time now that the group exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions