Jump to content
We've recently updated our Privacy Statement, available here ×

Bad JRXML validation for images/subreports (the "repo:" problem)


kcd

Recommended Posts

I cannot get the "repo:" expression handling to behave with the iReport JRXML validation tool when uploading. Two scenarios in iReport 4.5.1

Repository Navigation > localhost > Reports > Some report> Main.jrxml (rightclick) > Replace with current

1 - JRXML validation window for Image says

  • local: "imageslogo.jpg"
  • proposed: "repo:logo.jpg"

This is ok because it uploads the image. BUT it changes the local file to "repo:logo.jpg" so you can no longer preview it. Why does it change the local image expression?

...Or choose linked resource

2 - JRXML validation window for Linked Resource says

  • local: "imageslogo.jpg"
  • proposed: "repo:/images/logo.jpg"

This seems good because it doesn't change the local file and you can preview it. BUT it leaves the repository file as "imageslogo.jpg" so you cannot run it on Jasperserver. You'll get the error below.

  

As far as I can tell both options are broken. Also see http://jasperforge.org/projects/ireport/tracker/view.php?id=5539

Anyone got this working sensibly?



Post Edited by kcd at 03/20/2012 22:41
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...