You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue with CET's CrudListenerScripts
if we add a new CET and add a new CrudListenerScript for it, it is not possible to upgrade the module installed on another meveo instance
To Reproduce
After install a meveo module in two meveo instance then add a new CET with add a new CrudListenerScript and push the changes to github then pull from the other meveo instance , it will generate this error.
Error Log :
2023-07-04 01:48:16,967 ERROR [org.jboss.as.ejb3.invocation] (default task-1) WFLYEJB0034: EJB Invocation failed on component CustomEntityTemplateApi for
method public org.meveo.model.IEntity org.meveo.api.CustomEntityTemplateApi.createOrUpdate(org.meveo.api.dto.BaseEntityDto)
throws org.meveo.api.exception.MeveoApiException,org.meveo.admin.exception.BusinessException:
javax.ejb.EJBTransactionRolledbackException: Script com.unikbase.rfid.NFCTagListenerScript does not exists
at org.jboss.as.ejb3@18.0.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:203)
Caused by: java.lang.IllegalArgumentException: Script com.unikbase.rfid.NFCTagListenerScript does not exists
at deployment.meveo.war//org.meveo.api.CustomEntityTemplateApi.fromDTO(CustomEntityTemplateApi.java:648).
Root Casue
when prepare CustomEntityTemplate object on that time need to initialize --crudEventListenerScript attribute ,
it is depend on a scriptinstance .but this dependent object is not persist already .
for this reason it gives giving null value.
Solution
Need to update a CET if (cetDto.getCrudEventListenerScript() != null) after complete installation of all module item .
The text was updated successfully, but these errors were encountered:
masumcse1
changed the title
CET save issue for CrudListenerScripts during upgradation of module installed on meveo instance.
CET save issue for CrudListenerScripts during upgradation of module installed .
Jul 18, 2023
issue with CET's CrudListenerScripts
if we add a new CET and add a new CrudListenerScript for it, it is not possible to upgrade the module installed on another meveo instance
To Reproduce
After install a meveo module in two meveo instance then add a new CET with add a new CrudListenerScript and push the changes to github then pull from the other meveo instance , it will generate this error.
Error Log :
2023-07-04 01:48:16,967 ERROR [org.jboss.as.ejb3.invocation] (default task-1) WFLYEJB0034: EJB Invocation failed on component CustomEntityTemplateApi for
method public org.meveo.model.IEntity org.meveo.api.CustomEntityTemplateApi.createOrUpdate(org.meveo.api.dto.BaseEntityDto)
throws org.meveo.api.exception.MeveoApiException,org.meveo.admin.exception.BusinessException:
javax.ejb.EJBTransactionRolledbackException: Script com.unikbase.rfid.NFCTagListenerScript does not exists
at org.jboss.as.ejb3@18.0.0.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:203)
Caused by: java.lang.IllegalArgumentException: Script com.unikbase.rfid.NFCTagListenerScript does not exists
at deployment.meveo.war//org.meveo.api.CustomEntityTemplateApi.fromDTO(CustomEntityTemplateApi.java:648).
Root Casue
when prepare CustomEntityTemplate object on that time need to initialize --crudEventListenerScript attribute ,
it is depend on a scriptinstance .but this dependent object is not persist already .
for this reason it gives giving null value.
Solution
Need to update a CET if (cetDto.getCrudEventListenerScript() != null) after complete installation of all module item .
The text was updated successfully, but these errors were encountered: