Openbravo Issue Tracking System - POS2
View Issue Details
0056722POS2POSpublic2024-10-09 15:342024-10-15 08:31
javietxe 
Bimla_vm 
normalmajoralways
closedfixed 
5
 
24Q2.4 
approved
Gold
No
0056722: Send Mail creating error while importing
If a customer without contact is selected, while trying to send the ticket by email, an EWI is created:

org.openbravo.base.exception.OBException: Business partner user ID is a mandatory field to create a new customer from Web Pos
    at org.openbravo.retail.posterminal.CustomerLoader.editBPartnerContact(CustomerLoader.java:262)
    at org.openbravo.retail.posterminal.CustomerLoader.saveRecord(CustomerLoader.java:107)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:214)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:165)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:97)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:55)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:447)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:370)
    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)
In livebuilds:

In the backoffice
- Configure the VBS-2 terminal to show the send by mail popup after the sales done.

In the POS
- Log in the VBS-2
- Select the TestBP business partner
- Do a sale
- In the popup, fulfill it with an email and save it

Go to the Backoffice and check that an Error while importing has been created
Remove the exception and generate here an UUID

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/e64759b2bce77985e2f062f0a5287ac0d13949fe/src/org/openbravo/retail/posterminal/CustomerLoader.java#L261 [^]
No tags attached.
blocks defect 0056709 closed Bimla_vm Send Mail creating error while importing 
Issue History
2024-10-10 10:07marvintmTypedefect => backport
2024-10-10 10:07marvintmTarget Version24Q4 => 24Q2.4
2024-10-14 13:47hgbotNote Added: 0170360
2024-10-15 08:31hgbotMerge Request Statusopen => approved
2024-10-15 08:31hgbotResolutionopen => fixed
2024-10-15 08:31hgbotStatusscheduled => closed
2024-10-15 08:31hgbotFixed in Version => RR24Q2.4
2024-10-15 08:31hgbotNote Added: 0170401
2024-10-15 08:31hgbotNote Added: 0170402

Notes
(0170360)
hgbot   
2024-10-14 13:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1718 [^]
(0170401)
hgbot   
2024-10-15 08:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: dd6c396c1e947b5bbb027c7c9dab9de5dbe59c82
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 10-10-2024 18:26:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/dd6c396c1e947b5bbb027c7c9dab9de5dbe59c82 [^]

Fixed ISSUE-56722: Removed the exception and generated UUID for user

---
M src/org/openbravo/retail/posterminal/CustomerLoader.java
---
(0170402)
hgbot   
2024-10-15 08:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1718 [^]