Support Article
AES reporting area does not work with German locale
SA-58499
Summary
When localization is set to Europe/Berlin and Deutsche language, the reporting area does not render completely when runtime users click 'Reporting' in the Menu bar. This occurs in Internet Explorer 11, Chrome, and Firefox browsers.
Error Messages
[fault (self-tuning)'] [TABTHREAD1] [AES:07.30] (orts.PegaAES_UI_Reports.Stream) ERROR aesdeveloper - Section 'ClusterReports' execution error on page 'AESReports' of class 'PegaAES-UI-Reports'.
com.pega.pegarules.pub.clipboard.InvalidParameterException: value 20180323T010000.000 MEZ is not a valid Date or DateTime string. Details: Invalid value for theDate passed to com.pega.pegarules.exec.internal.util.PRDateTimeUtilsImpl.addToDate(String, String, String, String, String)
at com.pega.pegarules.exec.internal.util.PRDateTimeUtilsImpl.addToDate(PRDateTimeUtilsImpl.java:174) ~[prprivate.jar:?]
at com.pegarules.generated.addToDate_071017_8UWzek6nQSIQEJ_ynIw1uQ.addToDate07_10_17(addToDate_071017_8UWzek6nQSIQEJ_ynIw1uQ.java:119) ~[?:?]
at com.pegarules.generated.addToDate_071017_8UWzek6nQSIQEJ_ynIw1uQ.invoke(addToDate_071017_8UWzek6nQSIQEJ_ynIw1uQ.java:74) ~[?:?]
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(LibraryFunctionUtilityImpl.java:2923) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(Executable.java:11290) ~[prprivate.jar:?]
at com.pegarules.generated.html_section.ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.sectionDefaultValues_1(ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.java:6153) ~[?:?]
at com.pegarules.generated.html_section.ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.pzSectionBody_1(ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.java:361) ~[?:?]
at com.pegarules.generated.html_section.ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.performStream_1(ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.java:6161) ~[?:?]
at com.pegarules.generated.html_section.ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.execute(ra_stream_clusterreports_9a01ac95667ed10dcad4076d844e17b7.java:116) ~[?:?]
... more ...
[GCS: Central European Time CET = Mitteleuropäische Zeit MEZ]
Steps to Reproduce
- Upgrade AES production instance to AES 7.3 on Pega 7.3.1 on WebLogic 12.1.13.
- Change the operator (AESDeveloper) time zone to 'Europe/Berlin'.
- Change the preferred language in the browser to 'Deutsch [de]'.
- Launch the AES User portal from Designer Studio
- Use the reporting area in the portal.
Root Cause
A defect in Pegasystems’ code or rules.
The default value of the start date and end date of PegaAES-UI-Reports.ClusterReports section is evaluated with the following expression:
@(Pega-RULES:DateTime).addToDate(@(Pega-RULES:DateTime).FormatDateTime(@(Pega-RULES:DateTime).CurrentDate("yyyyMMdd'T000000.000 GMT'","GMT"),null,null,null), -7, 0, 0, 0)
The third parameter of the FormatDateTime function is null. At runtime, the value of the function displays in DateTime in the MEZ time zone which is not interpreted by JVM. Hence, the exception occurs and the reports do not load in AES.
Resolution
Apply HFix-43738.
Tags:
Published July 27, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.