maudev-bignited / huge-person-database

0 stars 0 forks source link

Update e-mail domail null variable error #7

Closed tome32145 closed 3 weeks ago

tome32145 commented 3 weeks ago

1) use swagger to create post request of newdomain 2) enter new description as domain and submit

Wrong Outcome: given error status code 500: "message": "Cannot invoke \"String.split(String)\" because the return value of \"be.bignited.hugeuserdatabase.entity.Person.getEmail()\" is null", and no email domain was changed

expected outcome: all emails domain are changed

maudev-bignited commented 3 weeks ago

Added null check for email domain