#1 2025-04-08 21:10:05

continu8
Member
Registered: 2025-02-23

Regex Test Failed

I have a Jasper Report with 3 parameters.  1 is text and 2 are dates.  When I click "Suggest parameter" it finds the correct parameters.  When I try to run the report it asks me to set the parameters but then we I go to preview the report it just says "Regex test failed".  Seems to be the date parameters it doesn't like.  When I hardcode the dates into my query and just use the text parameter it works fine.

I've tried using both java.util.date and java.SQL.date with the same results.

Offline

#2 2025-04-09 08:01:43

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Regex Test Failed

Hi continu8,

can you please post a minimal reproducible jasper report that demonstrates this behavior ?

Regards,
Eduardo

Offline

#3 2025-04-09 17:02:56

continu8
Member
Registered: 2025-02-23

Re: Regex Test Failed

I figured it out.  Apparently ReportServer doesn't like it when there is a space in the JasperReports parameter name.

Thanks

Offline

Board footer

Powered by FluxBB