Details
Description
in the method protected String buildResponse(ValidationAware validationAware) of org.apache.struts2.interceptor.validation.JSONValidationInterceptor line 149 the work around described in WW-2721 tries to remove "model." from fieldError.key. But when using OValValidationInterceptor the fieldError.key doesn't contains the substring "model." so, the code should be sometring like:
sb.append(validationAware instanceof ModelDriven ? fieldError.getKey(). replaceFirst("model
.", "")
: fieldError.getKey());
thank you
The code changed and now it checks if "model." exists in a key
So it should work as well with OValValidationInterceptor now, could you confirm ?