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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056371
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminorhave not tried2024-09-05 08:242024-09-05 13:41
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in VersionPR24Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056371: Backoffice print button does not work if there is no email definition

DescriptionIn backoffice trying to (re)print the document whose type has not an email definition, you get a message saying org.openbravo.erpCommon.utility.reporting.ReportingException: No email definitions found for template with id: 498DAE87AC4A4BCA818B929C568B0445
Steps To Reproduce1. Make sure you DON’T have an email configuration setup for the invoice document type
2. In POS, do sales with invoices
3. Go to SALES INVOICE window in BACKOFFICE and look for the invoice created
4. Click on the icon to (RE)PRINT of backoffice
    You will get error message org.openbravo.erpCommon.utility.reporting.ReportingException: No email definitions found for template with id: 498DAE87AC4A4BCA818B929C568B0445*
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0168764)
hgbot (developer)
2024-09-05 09:48

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1344 [^]
(0168765)
hgbot (developer)
2024-09-05 10:03

Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/75 [^]
(0168766)
alostale (viewer)
2024-09-05 10:14

Tested:

In all cases with and without email definition for the document being printed/emailed:

1. Reprintable reports inactive
1.1. Print
1.2. Send email: when there is an email definition, it is taken, if not empty fields appear for the user to complete

2. Reprintable reports active
2.1. Print
2.2. Reprint
2.3. Send email for first time, so the doc is generated
2.4. Send email having a document already created (reprint). In both 2.3 and 2.4 email templates behave as in 1.2
(0168768)
hgbot (developer)
2024-09-05 10:18

Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: f0a2e5244c4c08d7bc37aa3c0a9ccdef823d4dee
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 05-09-2024 10:02:48
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/f0a2e5244c4c08d7bc37aa3c0a9ccdef823d4dee [^]

related to BUG-56371: unused message removal API change

---
M model/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0168769)
hgbot (developer)
2024-09-05 10:18

Merge request merged: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/75 [^]
(0168813)
hgbot (developer)
2024-09-05 13:41

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1344 [^]
(0168814)
hgbot (developer)
2024-09-05 13:41

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 8df44808554ff6053adc7af33d6e4a73a94a032f
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 05-09-2024 09:53:50
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/8df44808554ff6053adc7af33d6e4a73a94a032f [^]

fixes BUG-56371: print button does not work if there is no email definition

Whenever a document was going to be printed it was assumed there should be at
least one email definition, which is not necessary for printing.

Now email definitions are never mandatory:
  * When just printing without emailing, they are not used at all.
  * When also emailing, in case of not being defined, an empty template is used.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/utility/reporting/TemplateInfo.java
---

- Issue History
Date Modified Username Field Change
2024-09-05 08:24 alostale New Issue
2024-09-05 08:24 alostale Assigned To => Triage Omni OMS
2024-09-05 08:24 alostale OBNetwork customer => No
2024-09-05 08:24 alostale Modules => Core
2024-09-05 08:24 alostale Triggers an Emergency Pack => No
2024-09-05 08:29 alostale Assigned To Triage Omni OMS => alostale
2024-09-05 09:48 hgbot Merge Request Status => open
2024-09-05 09:48 hgbot Note Added: 0168764
2024-09-05 10:03 hgbot Note Added: 0168765
2024-09-05 10:14 alostale Note Added: 0168766
2024-09-05 10:18 hgbot Note Added: 0168768
2024-09-05 10:18 hgbot Merge Request Status open => merged
2024-09-05 10:18 hgbot Note Added: 0168769
2024-09-05 11:55 hgbot Merge Request Status merged => approved
2024-09-05 13:41 hgbot Note Added: 0168813
2024-09-05 13:41 hgbot Resolution open => fixed
2024-09-05 13:41 hgbot Status new => closed
2024-09-05 13:41 hgbot Fixed in Version => PR24Q4
2024-09-05 13:41 hgbot Note Added: 0168814


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker