Project

General

Profile

Defect #176

test properties exist for virtulizer settings.

Added by Harjo Kompagnie over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Start date:
10/19/2010
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

Hi,

I would like to continue issue 38 of the googlecode site here: http://code.google.com/p/servoy-jasperreports-plugin/issues/detail?id=38&can=1

These are the three latest reactions, I want to continue:
-------------
jeffwbader:
Hi Harjo,

Nothing I see in the plugin code will report any errors to the servoy log or elsewhere if the page out dir is invalid. There is no sanity checking at all and it would seem to fail silently.

I think this should be changed.
-------------
Andrei:
Hi Harjo,

You can only see the virtualizer working if you try it with a big report (say 50k records in a table).
Also, to "see" the error, try to surround the runReport call with a try catch block and output the error object to see what it is.

Regards,
Andrei
-------------
Harjo (me ;-) ):
Hi Andrei,

the call is now:
try {
plugins.jasperPluginRMI.jasperReport(vDbalias, vPath, vOutputFile, vTypeOutput, vParameters)
} catch (e) {
application.output(e);
}

and this:

vParameters.VIRTUALIZER_TYPE = "file"; //possible options: file, swapFile, gZip
vParameters.PAGE_OUT_DIR = "c:/temp123456/"; //this folder does NOT exist

running this code, does'nt show an error in the console, or servoy_log.

Think I'm going crazy here.... ;-)
--------------------

So point is, that if we provide the two properties:
vParameters.VIRTUALIZER_TYPE = "file"; //possible options: file, swapFile, gZip
vParameters.PAGE_OUT_DIR

the plugin should check if VIRTUALIZER_TYPE == 'file' or 'swapFile' or 'gZip'
the plugin should check if PAGE_OUT_DIR folder exists!

Now we can provide ANYTHING into those parameters, and NOTHING is reported if something is wrong.

History

#1

Updated by Andrei Costache over 13 years ago

  • Assignee set to Andrei Costache
  • % Done changed from 0 to 100
#2

Updated by Andrei Costache over 13 years ago

  • Status changed from New to Closed

Also available in: Atom PDF