Jump to content
Changes to the Jaspersoft community edition download ×

LoggedInUsername Issue


dknutson

Recommended Posts

Not sure if this is a bug or what.

My system is JasperServer 3.7 and iReports 3.7.  I'm using the parameter $P{LoggedInUsername} to get the name of the user logged into Jasperserver.  This works just fine, unless I set a default value for the parameter.  Jasperserver will only return the name if a default hasn't been set. 

My problem is that once I set a default on this parameter the only way to get it to work properly again is to edit the file's XML entries.  If I simply delete the value from the iReports designer screen it left this in the XML -

<defaultValueExpression><![CDATA[]]></defaultValueExpression>

And Jasperserver is seeing this as a default value of NULL.  I have to delete this from the XML before it will work.

So, bug or something wrong with my iReports?

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