Openbravo Issue Tracking System - POS2
View Issue Details
0050436POS2POSpublic2022-10-06 13:402024-01-16 08:43
guilleaer 
AugustoMauch 
normalmajorhave not tried
closedno change required 
5
 
 
No
0050436: Keymap loader should be more ressilient to not fail when some properties are not received
Keymap loader can fail if some properties are not present.

We should make code more resilient to avoid errors like this one

org.openbravo.base.exception.OBException: org.openbravo.pos2.OBPOS2KeymapProduct product is a mandatory field to create a new org.openbravo.pos2.OBPOS2KeymapProduct from Web Pos
    at org.openbravo.pos2.KeymapLoader.checkMandatoryFields(KeymapLoader.java:257)
    at org.openbravo.pos2.KeymapLoader.createEntity(KeymapLoader.java:201)
    at org.openbravo.pos2.KeymapLoader.processEntity(KeymapLoader.java:240)
    at org.openbravo.pos2.KeymapLoader.saveRecord(KeymapLoader.java:87)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:204)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:156)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:88)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:57)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:421)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:338)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
N/A
No tags attached.
depends on backport 005043722Q4.1 closed AugustoMauch Keymap loader should be more ressilient to not fail when some properties are not received 
depends on backport 005043822Q3.2 closed AugustoMauch Keymap loader should be more ressilient to not fail when some properties are not received 
Issue History
2022-10-06 13:40guilleaerNew Issue
2022-10-06 13:40guilleaerAssigned To => AugustoMauch
2022-10-06 13:40guilleaerTriggers an Emergency Pack => No
2022-10-06 13:40guilleaerStatusnew => acknowledged
2022-10-06 13:40guilleaerStatusacknowledged => scheduled
2024-01-16 08:43AugustoMauchStatusscheduled => closed
2024-01-16 08:43AugustoMauchResolutionopen => no change required

There are no notes attached to this issue.