Jump to content
Changes to the Jaspersoft community edition download ×

visualize.js authentication with multiple reports open


Recommended Posts

Hello,

We are running a basic web display of some reports leveraging visualize.js.  I have noticed that if the browser has more than one report open (simultaneously in another tab for example), the older report (in terms of being opened chronologically first) page fails to properly refresh.  Console error shows the following:

09:45:09.641 [bi/report/Report] [visualize.js:50] [ERROR] - resource.not.found : Resource e58f2f78-b473-434b-bcb2-3ac32f2d55dc not found.

The code being used to auto refresh the report is the following:

setInterval(function(){                   report                .refresh()                .done(function(){console.log("Report Refreshed!");})                .fail(function(){console.log("Report Refresh Failed!");});                }, 300000);[/code]

Any idea on why having multiple reports opened would cause the refresh to fail? 

All of the tabs opened for a user session are using the same credentials, so I know it's not an issue of conflicting logins.

Any help is greatly appreciated.

Link to comment
Share on other sites

  • 10 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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