Bugs in datetime parameter of execution window and report

I have found two bug in the execution view window and the rendering of the report in reportserver

  1. A small display bug. When I click on a datetime parameter in the execution window and click on {{Month Year}}, e.g. {{April 2017}} to select month and year, instead of showing “OK” to close the window I see " OK "(Screenshot: https://ibb.co/jRwrfa). Can I fix that by myself or do I need an update?

  2. I design reports using with BIRT. In the footer of the report I use the default page counter and the total number of pages(“pageNumber” and “totalPage”). In birt viewer those numbers are shown correctly (Screenshot: https://ibb.co/jdOe0a).
    In reportserver those values always are shown as “1”. (Screenshot: https://ibb.co/nOdhmF). How can I fix that?

Hi skosmas,

  1. The links with the screenshots seem not to work, could you please check that?

Cheers,
Eduardo

Hi skosmas,

  1. is this only happening in the reportserver preview window? What happens if you export to PDF (upper left → PDF Export)

Please open next time a thread per issue. These two issues are not related with each other.

Cheers,
Eduardo

You are right, I’m sorry.

I corrected the links with the screenshots.

The pdf also has the problem with the numbering. All pages show “1 of 1”.

Hi skosmas,

  1. you are right, this seems a bug, I raised ticket RS-2594 and we will come back when we have more information.

  2. What happens when you export the file to pdf with your BIRT client? Run → View Report → As PDF. I see the incorrect numbers here too.
    Anyhow, BIRT seems to have problems with pageNumber and totalPage:
    https://www.eclipse.org/forums/index.php/t/273065/
    https://www.eclipse.org/forums/index.php/t/457987/

This only seems to work when you run separate run and render tasks. In reportserver, currently this is not the case.

Regards,
Eduardo

  1. Thank you.

2)You are right, it doesn’t work when I run the report as pdf. I’ll look for a workaround.

  1. For future reference I found a kind of workaround: I used the “Page n of m” autotext that creates a grid with 3 cells. I merged the 3 cells and at the text areas that were created I selected the option “Inline” instead of “Block” from “Advanced” → “Section” → “Display” in order to make all texts to display in one line closer together.

Hi skosmas,

thank you for the workaround. It is working for me as a charm :slight_smile:

Regards,
Eduardo

Hi skosmas
Can you Convert that date parameter in dd-mm-yyyy format?
Actually it yyyy-mm-dd format
Please reply if you know?

Hi shashank,

try changing the file /etc/main/localization.cf:

<shortDatePattern></shortDatePattern>
<longDatePattern></longDatePattern>
<shortTimePattern></shortTimePattern>
<longTimePattern></longTimePattern>
<shortDateTimePattern></shortDateTimePattern>
<longDateTimePattern></longDateTimePattern>
<numberPattern></numberPattern>
<currencyPattern></currencyPattern>
<integerPattern></integerPattern>
<percentPattern></percentPattern>

Actually, the default shortDateFormat is: y-MM-dd.

Then you have to reload the configuration files: open the terminal CTRL+ALT+T and type “config reload”, or restart your reportserver instance.

Regards,
Eduardo

Hi skosmas,

  1. is corrected and will be fixed in the next reportserver version.

Regards,
Eduardo