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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034272
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2016-10-21 14:522022-02-01 08:09
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034272: Not possible to print uncommitted DAL object information with the current reporting API

DescriptionIs not possible to print information of not commited DAL objects using the ReportingUtils API.

This is because the generateJasperPrint() method[1] is making use of a new connection by using connectionProvider.getTransactionConnection().Thus, the connection passed to the report is not able to see the objects which are not commited.

[1] https://code.openbravo.com/erp/devel/pi/file/8f17df764d0f/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java#l955 [^]
Steps To Reproduce1) Get the module from this repository: https://code.openbravo.com/erp/mods/org.openbravo.platform.ci [^] and install it
2) This module contains a process which executes a report. This process has one parameter "Create UOM":
  - If checked it will create a new UOM and it will be persisted (commit) before printing the report.
  - Otherwise the new UOM will be created but never persisted.
3) Launch the process checking the flag: the report is generated with data
4) Launch the process without checking the flag: the report will be empty

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-10-21 14:52 caristu New Issue
2016-10-21 14:52 caristu Assigned To => platform
2016-10-21 14:52 caristu Modules => Core
2016-10-21 14:52 caristu Triggers an Emergency Pack => No
2016-12-01 12:21 alostale Type defect => design defect
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker