Jump to content
  • JSS no longer loads default values for parameters


    mvcoile
    Assigned User chicuslavic
    CategoryBug report
    PriorityNormal
    ReproducibilityAlways
    ResolutionReopened
    SeverityBlock
    StatusResolved
    Versionv6.0.3

    Hi,

     

    JSS no longer fetches the default values on preview. Manually pressing the "reset" button next to the play button is necessary.

     

    Kind regards,

    Maarten @ Yesplan



    User Feedback

    Recommended Comments

    Can you check wether it's because the following piece of code is is missing? (I know it's missing)

     

     

    If so, you may want to forward this to Massimo, he just fixed another issue related to it.

    Link to comment
    Share on other sites

    JSS 6.0.3.final & JSS 6.1.beta Mac OS 10.10.2 Java does not matter since you ship it with jss (and actually working since 6.x)

     

    I don't know what file you tested, but when I open that file (re-downloaded from this site) on a windows 7 vm with JSS 6.0.3 I have the same problem.

     

    Link to comment
    Share on other sites

    Changed Severity from Major to Block


    UPDATE 6.1.0.SNAPSHOT.beta.v201502161334: With a boolean parameter, even after "reset"-ing the parameter vallues, the report now refuses to run at all.
    Link to comment
    Share on other sites

    Changed Resolution from Fixed to Reopened


    Sorry to reopen, however I noticed there are 3 different bugs going on:- Bug introduced in the 6.x series where the default parameter value is refuses to load when you go to the preview screen.- Bug introduced in the 6.x series where the parameter value is reset to the default parameter value when you press the green "play" button to preview.- Bug that already existed in 5.6.x (and probably earlier) where the preview always stopped on boolean values. Boolean parameter values always have to be reloaded at every preview. Not only on first run. Combined with the 6.x bugs, this causes the preview to not function at all.Did you solve all 3?Kind regards,Maarten @ Yesplan
    Link to comment
    Share on other sites

    2 tests I did not see you perform: Going back to the designer, testing with a custom provider class.

     

    If there is a community build soon, I can do a test with my provider plugin and files.

     

    (Sorry, if I seem to be acting difficult, this is not my intend)

    Link to comment
    Share on other sites

    Massimo, thx for the new build! (I should really start learning how to make my own)

     

    Chicuslavic, The parameters seem to load even faster then before 6.x! So that's good.

     

    However,

     

    Our Custom Provider plugin fetches some information from the "description" field of the parameters. In this new build I notice that when I change the description, JSS only compiles the report and prints the static part of the report.

     

    Our Custom Provider does it's own logging into the JSS Console, but that stays empty. Pressing "Preview" a couple of times does, eventually, starts a real preview.

     

    Kind regards,

    Maarten @ Yesplan

    Link to comment
    Share on other sites

    Maarten, there is an article about this information on the wiki. However I think it's a bit outdated right now. Some stuff changed lately.

    Last week I prepared an internal document on how to use Hudson/Jenkins for this kind of purpose.

     

    I will try to cleanup it and publish the information on the Community wiki. After that you will be able to create your own builds.

    Let you know when it will be ready. Unfortunately, even if it was in my plans, there are other tasks pending more pressing.

     

    Regards,

    Massimo.

    Link to comment
    Share on other sites


×
×
  • Create New...