djsiders Posted September 30, 2014 Share Posted September 30, 2014 I am in the process of attempting an update to JasperServer 5.6 I have successfully configured and built the application and got it to start on my machine. I built a simple report and setup a scheduled job for that report, and all worked fine (emailed report, created report in repository, etc.) After running, I went to the repository folder where the report output files were stored (CSV and PDF) and tried to delete, but no option is given. When I select those files, the buttons at the top stay greyed out. Note that since I was just testing, I used the same folder for the Jasper Report and the report output files, not sure if that matters. When I select the Jasper Report in the same folder, I get the delete option (button enabled). I have played with permissions on the folder as well, no luck. I am working as user jasperadmin, and have not made any server config changes via the UI (permissions, etc.) other than as noted above. Link to comment Share on other sites More sharing options...
pascal_knol Posted November 21, 2014 Share Posted November 21, 2014 I'm having the same problem with JasperReports Server 5.6.1. Link to comment Share on other sites More sharing options...
michal.lacko Posted November 28, 2014 Share Posted November 28, 2014 Same problem here... is there an another version which can solve this problem, or just something else ? thx(i have 5.6 community version) Link to comment Share on other sites More sharing options...
michal.lacko Posted December 2, 2014 Share Posted December 2, 2014 Hi, me againso the best solution so far is to use the delete button on the keyboard, this blew my mind since the menu button is disabled.. to remove the folder works as well. Link to comment Share on other sites More sharing options...
dchisholm Posted April 30, 2015 Share Posted April 30, 2015 The JS is missing "Utils" scope in getInitConfiguration. The original source is: var Utils = { restOfString: function(str, fromStr) { var from = str.lastIndexOf(fromStr) + fromStr.length; return str.substring(from, str.length).trim(); }, getInitOptions: function () { return localContext.rsInitOptions || __jrsConfigs__.repositorySearch["localContext"].rsInitOptions; }, getInitConfiguration: function () { return getInitOptions().configuration; } }; Just change "return getInitOptions().configuration;" to get "return Utils.getInitOptions().configuration;" You'll have to make this change in the optimized version of the script (optimized-scripts/results.page.js). Fortunately there are only two occurrences of getInitOptions so it's easy to find and fix the correct one. Link to comment Share on other sites More sharing options...
ytlee Posted January 20, 2017 Share Posted January 20, 2017 Good -> use the delete button on the keyboard, 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