#1 2017-04-04 13:44:49

skosmas
Member
Registered: 2017-02-16

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?

Last edited by skosmas (2017-04-05 06:17:37)

Offline

#2 2017-04-04 13:59:32

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Bugs in datetime parameter of execution window and report

Hi skosmas,

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

Cheers,
Eduardo

Offline

#3 2017-04-04 14:17:26

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Bugs in datetime parameter of execution window and report

Hi skosmas,

2) 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

Offline

#4 2017-04-05 06:23:05

skosmas
Member
Registered: 2017-02-16

Re: Bugs in datetime parameter of execution window and report

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

Offline

#5 2017-04-05 11:29:55

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Bugs in datetime parameter of execution window and report

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

Offline

#6 2017-04-05 12:50:16

skosmas
Member
Registered: 2017-02-16

Re: Bugs in datetime parameter of execution window and report

1) Thank you.

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

Offline

#7 2017-04-06 07:05:33

skosmas
Member
Registered: 2017-02-16

Re: Bugs in datetime parameter of execution window and report

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

Offline

#8 2017-04-06 08:01:41

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Bugs in datetime parameter of execution window and report

Hi skosmas,

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

Regards,
Eduardo

Offline

#9 2017-04-07 05:11:36

shashank
Member
Registered: 2017-03-28

Re: Bugs in datetime parameter of execution window and report

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

Offline

#10 2017-04-11 08:48:38

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Bugs in datetime parameter of execution window and report

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

Offline

#11 2017-04-18 08:25:15

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Bugs in datetime parameter of execution window and report

Hi skosmas,

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

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB