Hi Jacques,
thank you for the fix! I will test it end of this week. However, does this
cause the downloaded rptdesign files to contain a layout now or shall they
have no layout and just contain a data set?
Georg
-----Ursprüngliche Nachricht-----
From: Jacques Le Roux
Sent: Sunday, October 4, 2020 12:07 PM
To: [email protected]
Subject: Re: BIRT Flexible reports questions
Hi Georg,
Good news, with https://issues.apache.org/jira/browse/OFBIZ-12039 I fixed
the issue.
I was then able to follow the doc to "Insert the Layout" from the "Data Set"
in "Data Explorer" from the "Report Builder" and it worked as before
You just need to update your working copy with this fix and it should be
alright
Enjoy!
Jacques
Le 03/10/2020 à 19:17, Jacques Le Roux a écrit :
Hi Georg,
I found these errors in OFBiz log (or console):
2020-10-03 19:07:48,910 |jsse-nio-8443-exec-4 |ServiceDispatcher
|T| Sync service [birt/prepareFlexibleReportSearchFormToEdit] finished in
[1] milliseconds
2020-10-03 19:07:48,924 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error
message: TargetNamespace.2: Expecting no namespace, but the schema
document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,924 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 1. Error
message: cvc-elt.1.a: Cannot find the declaration of element 'forms'.
2020-10-03 19:07:48,926 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error
message: TargetNamespace.2: Expecting no namespace, but the schema
document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,929 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error
message: TargetNamespace.2: Expecting no namespace, but the schema
document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,931 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error
message: TargetNamespace.2: Expecting no namespace, but the schema
document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,933 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error
message: TargetNamespace.2: Expecting no namespace, but the schema
document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
2020-10-03 19:07:48,935 |jsse-nio-8443-exec-4 |UtilXml
|E| XmlFileLoader: File Internal Content process error. Line: 20. Error
message: TargetNamespace.2: Expecting no namespace, but the schema
document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
I had some old files in my Birt\workspace\Report Builder dir. I picked one
and it worked as before. So I guess the problem is really these errors
above.
I'll have a deeper look ASAP
Thanks for your interest in the BIRT Flexible reports :)
Jacques
Le 26/09/2020 à 13:47, Georg Potthast a écrit :
I kept on testing BIRT flexible reports. When I generate a report like
this:
select „Choose report topic: example“,
enter the name e.g. „myexample“ plus a description,
click „send“ and download the generated report.
The downloaded myexample.rptdesign has no layout and the Data Set
includes all the fields in the entity definition for
entity-name="Example" in \plugins\example\entitydef\entitymodel.xml.
I can drag a new table into the main window and specify „Data Set“ as the
Data Set. Then I can select exampleId, exampleTypeId and exampleName from
the list of fields. If I save this report design then and upload it, it
will show the report result as provided in the example at the main
button.
This works but it is not mentioned as the procedure to use in the online
documentation. I expected that the downloaded file includes a layout
which the master would provide.