[#5410] - Groovy formatting

Category:
Bug report
Priority:
Normal
Status:
Closed
Project: Severity:
Minor
Resolution:
Fixed
Component: Reproducibility:
Always
Assigned to:

I have recently upgraded to JaperReports 4.1.1 and have noticed that my reports written using iReports 4.0.1 will no longer compile and the reason appears to be groovy expression formatting.

A text field with a text field expression of

$F{cell_phone} == null && $F{satellite_phone} != null
? $F{satellite_phone}
: $F{cell_phone}

(i.e. spread over a few lines) fails but if I place all the code on one line it compiles ok.

I aften use line break formatting so I can see all the expression without having to scroll or resize the window so this is a major annoyance.

skrpc's picture
6
Joined: May 28 2010 - 8:44pm
Last seen: 1 year 3 months ago

2 Comments:

#1

Hi,

This is a very good catch as well!!!...

I have fixed this too and I'd be happy if you could confirm the fix by building from SVN source.

Thanks,
Teodor

#2
  • Status:Resolved» Closed
Feedback