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

Report embedding issue in v6.2 when using requirejs framework


sreekanthjnayar

Recommended Posts

Recently we upgraded our Jasperserver environment from v6.0 to v6.2. We have another web application where we are embedding Jaspersoft reports using visualizejs API. The web application uses requirejs framework to load java script files asynchronously. Post the upgrade; we are facing an issue while trying to load the visualizejs API asynchronously using requirejs. The exceptions were all 404's for the 'text' resources/modules, related to anything handled by the requirejs text plugin. Instead of resolving 'Authentication.json' as a JSON file it is looking for 'Authentication.json.js' which 404's. Attached below is the screen shot for the same.

The embedding is working fine when we use a plain script tag to include the visualizejs API or if we use Jasperserver v6.0 to embed the reports with requirejs. The issue seems to be specific to v6.2 when requirejs is used to load the visualizejs file. Has anybody come across something similar while using visualizejs API?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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