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.