You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2020/10/03 17:17:41 UTC

Re: BIRT Flexible reports questions

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.
>

Re: BIRT Flexible reports questions

Posted by Jacques Le Roux <ja...@les7arts.com>.
Great!

Le 05/10/2020 à 11:19, Georg Potthast 2 a écrit :
> Thank you Jacques,
>
> I will be travelling for a couple of days, so I cannot try that now. But I will end of this week.
> Since I am a contributor, I can change the wiki documentation so that I would understand it and you could modify what I wrote if needed.
>
> Georg
>
>> Jacques Le Roux <ja...@les7arts.com> hat am 05.10.2020 09:44 geschrieben:
>>
>>   
>> Le 05/10/2020 à 09:25, Jacques Le Roux a écrit :
>>> <<in the "Report Builder" "Insert the Layout" from the "Data Set" in "Data Explorer" >>
>> This is after having created your report; saved it in the Report Builder dir and opened it in the Report Builder.
>>
>> Then to create the layout in your report: in "Data Explorer" open "Data Sets" (click on it); right click on the only "Data Set" and use "Insert the
>> Layout"; save your change.
>>
>> This is the "Simple design without break" option as explained in the doc. There are other more advanced options explained in the doc.
>>
>> HTH (I know it's not as easy as it look once you have done it 1st time)
>>
>> Jacques


Re: BIRT Flexible reports questions

Posted by Georg Potthast 2 <no...@georgpotthast.de>.
Thank you Jacques,

I will be travelling for a couple of days, so I cannot try that now. But I will end of this week.
Since I am a contributor, I can change the wiki documentation so that I would understand it and you could modify what I wrote if needed.

Georg

> Jacques Le Roux <ja...@les7arts.com> hat am 05.10.2020 09:44 geschrieben:
> 
>  
> Le 05/10/2020 à 09:25, Jacques Le Roux a écrit :
> > <<in the "Report Builder" "Insert the Layout" from the "Data Set" in "Data Explorer" >> 
> 
> This is after having created your report; saved it in the Report Builder dir and opened it in the Report Builder.
> 
> Then to create the layout in your report: in "Data Explorer" open "Data Sets" (click on it); right click on the only "Data Set" and use "Insert the 
> Layout"; save your change.
> 
> This is the "Simple design without break" option as explained in the doc. There are other more advanced options explained in the doc.
> 
> HTH (I know it's not as easy as it look once you have done it 1st time)
> 
> Jacques

Re: BIRT Flexible reports questions

Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 05/10/2020 à 09:25, Jacques Le Roux a écrit :
> <<in the "Report Builder" "Insert the Layout" from the "Data Set" in "Data Explorer" >> 

This is after having created your report; saved it in the Report Builder dir and opened it in the Report Builder.

Then to create the layout in your report: in "Data Explorer" open "Data Sets" (click on it); right click on the only "Data Set" and use "Insert the 
Layout"; save your change.

This is the "Simple design without break" option as explained in the doc. There are other more advanced options explained in the doc.

HTH (I know it's not as easy as it look once you have done it 1st time)

Jacques


Re: BIRT Flexible reports questions

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Georg,

The downloaded rptdesign files does not contain a layout and just contain a data set.

 From that as I somehow said below:

    <<in the "Report Builder" "Insert the Layout" from the "Data Set" in "Data Explorer" >>

You may also follow https://ci.apache.org/projects/ofbiz/site/trunk/pluginsdoc/birt/html5/birt.html#_different_areas_of_the_screen_and_their_role

Please let me know if it's clear enough. Else I'll improve the documentation, feel free to suggest improvements.

Thanks

Jacques

Le 05/10/2020 à 08:05, Georg Potthast a écrit :
> 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: user@ofbiz.apache.org
> 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.
>>>
>

Re: BIRT Flexible reports questions

Posted by Georg Potthast <no...@georgpotthast.de>.
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: user@ofbiz.apache.org
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.
>> 


Re: BIRT Flexible reports questions

Posted by Jacques Le Roux <ja...@les7arts.com>.
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.
>>