[Symptom]
When the product is updated after intra-mart Accel Platform 2020 Spring, a system error may occur when attempting to open the menu settings.
The following message is output in exception.log
log.message=Runtime error: tenant/menu/ajax/ajax_get_item
jp.co.intra_mart.common.aid.jsdk.javax.servlet.exception.ExtendedServletException: Runtime error: tenant/menu/ajax/ajax_get_item
at jp.co.intra_mart.system.session.web.WebPageBuilder.invoke(WebPageBuilder.java:145)
at jp.co.intra_mart.system.servlet.jssp.AbstractJSSPServlet.fire(AbstractJSSPServlet.java:76)
at jp.co.intra_mart.system.servlet.jssp.SecureJSSPServlet.execute(SecureJSSPServlet.java:70)
...
Caused by: jp.co.intra_mart.system.jssp.validation.ValidationRuntimeException: Validator not found:id2
at jp.co.intra_mart.system.jssp.validation.Validation.getValidator(Validation.java:216)
at jp.co.intra_mart.system.jssp.validation.Validation.invokeValidators(Validation.java:195)
at jp.co.intra_mart.system.jssp.validation.Validation.validate(Validation.java:115)
[Cause]
If a script development validation configuration file (jssp-validation-config/jssp-validation-config.xml) is output in IM-Juggling before the update, the update does not reflect the contents of the configuration file because definition of validation which is the cause of error above does not exist in iAP even if war is deployed from the target Juggling project.
[Handling method]
Follow these steps to reflect the update in the configuration file.
1. Open conf/jssp-validation-config/jssp-validation-config.xml of the target Juggling project in IM-Juggling.
2. Add the following definitions.
<validator>
<validator-name>id2</validator-name>
<validator-class>jp.co.intra_mart.system.jssp.validation.validator.ID2Validator</validator-class>
</validator>
3. Create war from the target Juggling project and deploy it again.
-- Target ----------------------------------------------------------------------
iAP/Accel Platform/2020 Spring or later
--------------------------------------------------------------------------------
FAQID:1039