Apache OpenOffice (AOO) Bugzilla – Issue 78502
RPT: bound field in page heading improperly generated in final report
Last modified: 2012-03-01 22:32:35 UTC
- open the attached database document - open the report "lost page heading field" for editing - note the two formatted fields, one in the page header, one in the detail section. Both have exactly the same settings - execute the report => in the detail section, the field is properly field (with the current date) The field in the page header, though, is empty in the generated report (note: The field contains a date field, which does not work unless you have a build where issue 77039 is fixed. However, you can enter *any* report formula in the field: In the detail section, it will be properly shown, in the page header/footer, it won't.)
Effectively, it means you're unable to place a date or time field in the page header. One might think this makes those fields somewhat useless ...
This is a new implementation in CWS oj14. Adding keyword "new_implementation".
Created attachment 45947 [details] document to reproduce the bug case
This bug is connected to (or may even be caused by the same flaw as) the bug #77039 (Date-Time fields dont work). The generated report contains the correct 'get-variable' commands in the header, so this is a matter of formatting the thing correctly.
*** Issue 78828 has been marked as a duplicate of this issue. ***
The Report Designer iTeam decided that this issue is a show stopper for the release of the report designer. Targeting to 2.3, thus.
Fixed; the code searched for the wrong element, and therefore was never able to apply the correct style. Now the fields in the page-heading will be formatted correctly. (The data itself was never 'lost' - but as soon as an invalid data-format is applied, the value will not be printed.)
The date field in the page header is not formatted correctly.
This seems to be a writer issue. Please take care for this one. Thanks.
Change target.
ama->oj: Could you provide a (small) Writer document which shows the problem to me? Or is this issue already solved?
Created attachment 50307 [details] File created with a m235
I added a report.
ama->oj: The content of the header table cell should look like this: <text:p> <text:variable-get text:name="auto_report_1" office:value-type="date" style:data-style-name="N38"> </text:variable-get></text:p> It is not enough to set office:value-type to "date", you have to choose the right style:data-style-name for the wished date format, too.
Could you please take care for this also. Thanks.
Fixed in cws pentaho2. Now the date in the page header is correctly shown.
Set to fixed.
verified in CWS pentaho2 find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fpentaho2
Tested w/OOo 2.4 m_11, Kubuntu 7.1 64bit, SRB 1.0.2 Closing