Code: Select all
org.springframework.beans.NotReadablePropertyException: Invalid property 'csrfToken' of bean class [org.broadleafcommerce.core.web.controller.account.UpdateAccountForm]: Bean property 'csrfToken' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:729)
org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
Looking at the backing form object, org.broadleafcommerce.core.web.controller.account.UpdateAccountForm, it doesn't have csrfToken property. I must have messed something up that broke it. But how does this work if the backing form doesn't have a field that the HTML references?
Thank you in advance!
-Charlie