Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0052771 | Modules | Remittance | public | 2023-06-16 14:21 | 2023-06-26 16:48 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | frank_gonzalez | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0052771: Cannot reactivate any Payment if 3.2.232000 version of Remittance Infrastructure module is installed | |||||||||||
Description | Cannot reactivate any Payment if 3.2.232000 version of Remittance Infrastructure module is installed | |||||||||||
Steps To Reproduce | Install the 3.2.232000 version of Remittances Infrastructure module In the backoffice: Create a Payment In Add details Add a G/L Item Complete it Navigate to the financial account transaction related to the payment Reactivate it Delete it Return to the payment and try to reactivate it The following error message is shown: java.lang.ClassCastException: class java.lang.String cannot be cast to class org.openbravo.base.structure.BaseOBObject (java.lang.String is in module java.base of loader 'bootstrap'; org.openbravo.base.structure.BaseOBObject is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @46619a2a) The log shows: ERROR org.openbravo.advpaymentmngt.process.FIN_PaymentProcess - class java.lang.String cannot be cast to class org.openbravo.base.structure.BaseOBObject (java.lang.String is in module java.base of loader 'bootstrap'; org.openbravo.base.structure.BaseOBObject is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @46619a2a) java.lang.ClassCastException: class java.lang.String cannot be cast to class org.openbravo.base.structure.BaseOBObject (java.lang.String is in module java.base of loader 'bootstrap'; org.openbravo.base.structure.BaseOBObject is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @46619a2a) at org.openbravo.dal.core.DalPropertyAccess$GetterMethod.get(DalPropertyAccess.java:130) ~[classes/:?] at org.hibernate.tuple.entity.AbstractEntityTuplizer.getIdentifier(AbstractEntityTuplizer.java:230) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:5272) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.persister.entity.AbstractEntityPersister.isTransient(AbstractEntityPersister.java:4972) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:294) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.engine.internal.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:344) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.type.EntityType.getIdentifier(EntityType.java:507) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.type.EntityType.nullSafeSet(EntityType.java:288) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:53) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:682) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.bindPreparedStatement(Loader.java:2150) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:2127) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:2059) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:2037) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.doQuery(Loader.java:956) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:357) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.doList(Loader.java:2868) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.doList(Loader.java:2850) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2682) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.Loader.list(Loader.java:2677) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:540) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:400) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:219) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1454) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1649) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1617) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.openbravo.module.remittance.event.PaymentEventHandler.onUpdate(PaymentEventHandler.java:58) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] ... | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-06-16 14:21 | ngarcia | New Issue | ||||||||||
2023-06-16 14:21 | ngarcia | Assigned To | => Triage Omni OMS | |||||||||
2023-06-16 14:21 | ngarcia | Relationship added | caused by 0051594 | |||||||||
2023-06-16 14:26 | aferraz | Assigned To | Triage Omni OMS => frank_gonzalez | |||||||||
2023-06-20 08:29 | hgbot | Note Added: 0151348 | ||||||||||
2023-06-20 08:34 | frank_gonzalez | Status | new => acknowledged | |||||||||
2023-06-20 10:00 | hgbot | Note Added: 0151356 | ||||||||||
2023-06-20 10:10 | hgbot | Note Added: 0151361 | ||||||||||
2023-06-20 13:16 | frank_gonzalez | Status | acknowledged => scheduled | |||||||||
2023-06-20 14:28 | hgbot | Resolution | open => fixed | |||||||||
2023-06-20 14:28 | hgbot | Status | scheduled => closed | |||||||||
2023-06-20 14:28 | hgbot | Note Added: 0151379 | ||||||||||
2023-06-20 14:28 | hgbot | Note Added: 0151380 | ||||||||||
2023-06-26 14:20 | hgbot | Note Added: 0151642 | ||||||||||
2023-06-26 16:48 | hgbot | Note Added: 0151653 | ||||||||||
2023-06-26 16:48 | hgbot | Note Added: 0151654 |