Openbravo Issue Tracking System - POS2
View Issue Details
0050437POS2POSpublic2022-10-06 13:402023-12-27 13:08
guilleaer 
AugustoMauch 
normalmajorhave not tried
closedno change required 
5
 
22Q4.1 
No
0050437: 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.
blocks defect 0050436 closed AugustoMauch Keymap loader should be more ressilient to not fail when some properties are not received 
Issue History
2022-10-06 13:40guilleaerTypedefect => backport
2022-10-06 13:40guilleaerTarget Version => 22Q4.1
2023-12-27 13:08AugustoMauchStatusscheduled => closed
2023-12-27 13:08AugustoMauchResolutionopen => no change required

There are no notes attached to this issue.