Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP add-student enrollment expecting integer #2838

Closed
thecoolestguy opened this issue Mar 18, 2020 · 1 comment · Fixed by #2842
Closed

LDAP add-student enrollment expecting integer #2838

thecoolestguy opened this issue Mar 18, 2020 · 1 comment · Fixed by #2842
Assignees
Labels

Comments

@thecoolestguy
Copy link
Member

Add students from LDAP directory failing on NULL value returned

console.ERROR: Error thrown while running command "'ilios:directory:add-students' 1 '(&(ucsfEduStuCurriculumDegreeObjectiveCode=XX)(|(ucsfEduStatus=student:XX)(ucsfEduStatus=student:XX)))' -n --env=prod". Message: "Return value of "App\Command\AddNewStudentsToSchoolCommand::execute()" must be of the type int, NULL returned." {"exception":"[object] (TypeError(code: 0): Return value of \"App\\Command\\AddNewStudentsToSchoolCommand::execute()\" must be of the type int, NULL returned. at /var/www/ilios/vendor/symfony/console/Command/Command.php:258)","command":"'ilios:directory:add-students' 1 '(&(ucsfEduStuCurriculumDegreeObjectiveCode=39)(|(ucsfEduStatus=student:XX)(ucsfEduStatus=student:XX)))' -n --env=prod","message":"Return value of \"App\\Command\\AddNewStudentsToSchoolCommand::execute()\" must be of the type int, NULL returned."} []
@thecoolestguy
Copy link
Member Author

I XX'd out the real LDAP attribute values, but they're in cron

@stopfstedt stopfstedt self-assigned this Mar 18, 2020
This was referenced Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants