You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: 'Student' object has no attribute 'student_category'.
Observed result
Stacktrace / full error message
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 68, in application
response = frappe.api.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 31, in handle
data = execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 67, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1172, in call
return fn(*args, **newargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/mapper.py", line 36, in make_mapped_doc
return method(source_name)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/education/api.py", line 39, in enroll_student
program_enrollment.student_category = student.student_category
AttributeError: 'Student' object has no attribute 'student_category'
The text was updated successfully, but these errors were encountered:
Description of the issue
"Student Applicant" can't be enrolled. AttributeError: 'Student' object has no attribute 'student_category'.
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
Observed result
Stacktrace / full error message
The text was updated successfully, but these errors were encountered: