federico.cattozzi Posted November 26, 2009 Share Posted November 26, 2009 Environments involved: Windows Xp iReport 3.6.1 JasperServer 3.5It's happened twice that after I have opened "Report query" window and edited the query, "Read fields" and "Send to clipboard" buttons didn't work anymore for that single report, also if I restart Windows.It's strange bug, that report seems to be not corrupted because it works fine on JasperServer.See the attached image, please. Link to comment Share on other sites More sharing options...
federico.cattozzi Posted November 27, 2009 Author Share Posted November 27, 2009 I reply to myself.The problem is caused by the code here below:Code: <parameter name="LoggedInUser" class="com.jaspersoft.jasperserver.api.metadata.user.domain.User" isForPrompting="false"/> <parameter name="USERNAME" class="java.lang.String" isForPrompting="false"> <defaultValueExpression><![CDATA[$P{LoggedInUser}.getUsername()]]></defaultValueExpression> </parameter> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now