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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056709
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-10-09 15:342024-10-14 13:11
ReporterjavietxeView Statuspublic 
Assigned ToBimla_vm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix 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

0056709: Send Mail creating error while importing

DescriptionIf 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)
Steps To ReproduceIn 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
Proposed SolutionRemove 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005672024Q4 closedBimla_vm Send Mail creating error while importing 
depends on backport 005672124Q3.2 closedBimla_vm Send Mail creating error while importing 
depends on backport 005672224Q2.4 closedBimla_vm Send Mail creating error while importing 

-  Notes
(0170243)
hgbot (developer)
2024-10-10 09:44

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1710 [^]
(0170352)
hgbot (developer)
2024-10-14 13:11

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1710 [^]
(0170353)
hgbot (developer)
2024-10-14 13:11

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 86f7f1d6b815ca5db0dd5d70b33685187b402e04
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 10-10-2024 13:44:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/86f7f1d6b815ca5db0dd5d70b33685187b402e04 [^]

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

---
M src/org/openbravo/retail/posterminal/CustomerLoader.java
---

- Issue History
Date Modified Username Field Change
2024-10-09 15:34 javietxe New Issue
2024-10-09 15:34 javietxe Assigned To => Retail
2024-10-09 15:34 javietxe Triggers an Emergency Pack => No
2024-10-09 16:05 guilleaer Status new => acknowledged
2024-10-09 16:07 guilleaer Proposed Solution updated
2024-10-10 07:05 Bimla_vm Assigned To Retail => Bimla_vm
2024-10-10 07:05 Bimla_vm Status acknowledged => scheduled
2024-10-10 09:44 hgbot Note Added: 0170243
2024-10-10 10:07 marvintm Status scheduled => acknowledged
2024-10-10 10:07 marvintm Status acknowledged => scheduled
2024-10-10 10:09 Bimla_vm Target Version 24Q4 =>
2024-10-14 13:11 hgbot Note Added: 0170352
2024-10-14 13:11 hgbot Resolution open => fixed
2024-10-14 13:11 hgbot Status scheduled => closed
2024-10-14 13:11 hgbot Fixed in Version => RR25Q1
2024-10-14 13:11 hgbot Note Added: 0170353


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker