Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040793
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajoralways2019-05-07 10:272019-05-07 10:27
ReporterdmiguelezView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040793: Not possible to properly work with error in import entries when using different modules

DescriptionIn 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 Reproduce2019-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:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker