Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0040793 | Retail Modules | Web POS | public | 2019-05-07 10:27 | 2019-05-07 10:27 |
Reporter | dmiguelez | ||||
Assigned To | Retail | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0040793: Not possible to properly work with error in import entries when using different modules | ||||
Description | In an scenario where there are two modules: - Loyalty Programs (Core Dependent) - Retail Loyalty (POS Dependent) To be able to create an offline subscription, it is necessary to create the logic in the Retail module for an Object of the Loyalty module. If there are any errors while importing, and import entry should be created. In order to do so, it is necessary to create a record in the 'Types of data to be synchronized in Web POS' Reference List. This list should reference the entity that is going to be imported, however, the list entry should start with the module prefix. In this case it is impossible to fulfill both requirements. | ||||
Steps To Reproduce | 2019-05-07 10:17:20,293 [http-bio-8080-exec-8] ERROR org.openbravo.mobile.core.process.SecuredJSONProcess - typeofdata: Property OBPOS_Errors.typeofdata, value (OBLP_Subscription) is not allowed, it should be one of the following values: [Order, OBPOS_Invoice, OBRLP_Subscription, GCNV_RevertGiftCardAmount, GCNV_GiftCardCertificate, BusinessPartner, FIN_Finacc_Transaction, OBPOS_CancelLayaway, BusinessPartnerLocation, GCNV_CancelGiftCardTransaction, GCNV_ConsumeGiftCardLines, OBPOS_IsOrderCancelled, GCNV_CancelGiftcard, OBPOS_App_Cashup] but it is value OBLP_Subscription org.openbravo.base.validation.ValidationException: typeofdata: Property OBPOS_Errors.typeofdata, value (OBLP_Subscription) is not allowed, it should be one of the following values: [Order, OBPOS_Invoice, OBRLP_Subscription, GCNV_RevertGiftCardAmount, GCNV_GiftCardCertificate, BusinessPartner, FIN_Finacc_Transaction, OBPOS_CancelLayaway, BusinessPartnerLocation, GCNV_CancelGiftCardTransaction, GCNV_ConsumeGiftCardLines, OBPOS_IsOrderCancelled, GCNV_CancelGiftcard, OBPOS_App_Cashup] but it is value OBLP_Subscription at org.openbravo.base.model.domaintype.BaseEnumerateDomainType.checkIsValidValue(BaseEnumerateDomainType.java:64) ~[BaseEnumerateDomainType.class:?] at org.openbravo.base.model.Property.checkIsValidValue(Property.java:821) ~[Property.class:?] at org.openbravo.base.structure.BaseOBObject.set(BaseOBObject.java:271) ~[BaseOBObject.class:?] at org.openbravo.retail.posterminal.OBPOSErrors.setTypeofdata(OBPOSErrors.java:185) ~[OBPOSErrors.class:?] at org.openbravo.retail.posterminal.POSDataSynchronizationErrorHandler.handleError(POSDataSynchronizationErrorHandler.java:114) ~[POSDataSynchronizationErrorHandler.class:?] at org.openbravo.retail.posterminal.POSDataSynchronizationErrorHandler$Proxy$_$$_WeldClientProxy.handleError(POSDataSynchronizationErrorHandler$Proxy$_$$_WeldClientProxy.java) ~[POSDataSynchronizationErrorHandler.class:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.handleError(DataSynchronizationProcess.java:386) ~[DataSynchronizationProcess.class:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:251) ~[DataSynchronizationProcess.class:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155) ~[DataSynchronizationProcess.class:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:87) ~[DataSynchronizationProcess.class:?] at org.openbravo.mobile.core.process.JSONProcessSimple.exec(JSONProcessSimple.java:48) ~[JSONProcessSimple.class:?] at org.openbravo.mobile.core.process.SecuredJSONProcess.secureExec(SecuredJSONProcess.java:62) [SecuredJSONProcess.class:?] at org.openbravo.mobile.core.process.MobileServiceProcessor.execProcess(MobileServiceProcessor.java:131) [MobileServiceProcessor.class:?] at org.openbravo.mobile.core.process.MobileServiceProcessor.execServiceName(MobileServiceProcessor.java:105) [MobileServiceProcessor.class:?] at org.openbravo.mobile.core.process.MobileService.doGetOrPost(MobileService.java:194) [MobileService.class:?] at org.openbravo.mobile.core.process.MobileService.doPost(MobileService.java:73) [MobileService.class:?] | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-05-07 10:27 | dmiguelez | New Issue | |||
2019-05-07 10:27 | dmiguelez | Assigned To | => Retail | ||
2019-05-07 10:27 | dmiguelez | Triggers an Emergency Pack | => No |
There are no notes attached to this issue. |