Details
Description
FreeMaker exception1/ while approving the cutomer reviews created by a PartyGroup user.
How to reproduce:
1. Login as DemoCustCompany in the eCommerce,
2. Create a customer review.
3. Login to the Catalog Manager as admin.
4. Click on the Review tab in Catalog Manager.
FreeMarker exception is thrown. FreeMarker template expects a Person where as the user was created by PartyGroup. One fix is to to retrived the PartyGroup if the userLogin.getRelated() returns null Person. And then use the groupName field instead of firstName and lastName.
Please advise.