Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0058350 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2025-03-26 16:12 | 2025-03-27 11:58 | |||
Reporter | sofidossant | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | high | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 25Q1 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 125015 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0058350: Error Sending Email | |||||||
Description | When we make a sale in pos2 and we want to send the email it fails us: 2025-03-26 09:46:01,267 [Import Entry - 3] ERROR org.openbravo.pos2.mailing.Mailer - Error while sending the Email, org.openbravo.erpCommon.utility.reporting.ReportingException: Error retrieving report data with id 15571BD931FD56DEC77EEC3579EF4E36 at org.openbravo.erpCommon.utility.reporting.Report.(Report.java:159) ~[classes/:?] at org.openbravo.erpCommon.utility.reporting.Report.(Report.java:92) ~[classes/:?] at org.openbravo.pos2.mailing.Mailer.sendTicketByEmail(Mailer.java:105) [classes/:?] at org.openbravo.pos2.mailing.Mailer.sendEmail(Mailer.java:71) [classes/:?] at org.openbravo.pos2.mailing.SendEmailLoader.saveRecord(SendEmailLoader.java:117) [classes/:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:214) [classes/:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:165) [classes/:?] at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:97) [classes/:?] at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:55) [classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:447) [classes/:?] at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:370) [classes/:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?] | |||||||
Steps To Reproduce | 1- Configure client and check to sent email 2- Go to the pos2 and create a sales order, pay with cash. 3- Select the option Print + Send Email See the error. | |||||||
Proposed Solution | Patch --- a/src/org/openbravo/pos2/mailing/Mailer.java 2025-03-26 10:55:47.579108984 +0100 +++ b/src/org/openbravo/pos2/mailing/Mailer.java 2025-03-26 12:31:39.315819233 +0100 @@ -102,8 +102,8 @@ try { if (emailTemplate != null) { DocumentType documentType = DocumentType.SALESORDER; - Report report = new Report(documentType, order.getString("id"), null, "default", false, - OutputTypeEnum.EMAIL); + Report report = new Report(documentType, order.optString("orderId", order.getString("id")), + null, "default", false, OutputTypeEnum.EMAIL); emailInfoBuilder .setContent(replaceContentWithParameters(emailTemplate.getBody(), order, report)); emailInfoBuilder | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0177336) hgbot (developer) 2025-03-27 11:58 |
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24068 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-03-26 16:12 | sofidossant | New Issue | |
2025-03-26 16:12 | sofidossant | Assigned To | => Retail |
2025-03-26 16:12 | sofidossant | OBNetwork customer | => OBPS |
2025-03-26 16:12 | sofidossant | Support ticket | => 125015 |
2025-03-26 16:12 | sofidossant | Triggers an Emergency Pack | => No |
2025-03-26 16:49 | Practics | Issue Monitored: Practics | |
2025-03-27 11:58 | hgbot | Note Added: 0177336 | |
2025-03-27 11:58 | hgbot | Status | new => closed |
2025-03-27 11:58 | hgbot | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |