Jump to content
We've recently updated our Privacy Statement, available here ×
  • Selecting multi-select input control values resets scrolling position back to the top of list


    vchiem
    • Features: Input Controls Version: v8.0.0, v7.9.0, v7.8.1, v7.8.0 Product: JasperReports® Server

    Issue:

    Every time a user makes a selection to the first multi-select input control values, the input control resets (scrolls back) the selection focus to the start of the list and the user has to scroll down again to make additional selections.  This happens only if there is a cascade where the second input control query has a connected parameter to the first input control. For example, when the second control query contains :

    where $X{IN, customer_id, customer}

    where 'customer' is a connected parameter to the first multi-select input control.

    This issue does not occur when there are no cascading input controls.

    This issue can be reproduced as follows :

    1. Run a report containing an input control (first) and a cascading input control (second) 

    2. Make input control selections to the first input control and scroll down the first input control to make more selections

    3. Observe that the first input control is scrolled back to the top of list for every selection made

    Every time the Input Control refreshes and scrolls back to the top of values, users will need to scroll down the list again which makes usability awkward and difficult. It is expected that the Input Control selection maintains its focus position without having to re-scroll down every time. 

     


     

    Solution:

    Every time a user makes a selection to the first input control values, these two internal http requests are made:

    http://server:8080/jasperserver-pro/rest_v2/reports/public/Samples/Reports/AllAccounts/inputControls/customer;other/values?freshData=false&selectedOnly=true
    http://server:8080/jasperserver-pro/rest_v2/reports/public/Samples/Reports/AllAccounts/inputControls/customer;other/values/pagination?freshData=false&includeTotalCount=true 

    and because of these requests the input controls are refreshed and scrolled back to the top of the list. 

    Note: The sample report above is a modified version of the Accounts report to contain cascading input control.

    This is a regression defect that affects TIBCO JasperReports® Server 7.8 and  TIBCO JasperReports® Server 7.9 but not versions prior.  See 'Related Articles' section below for the defect incident reference.

    The fix for this defect is available as a cumulative hotfix corresponding to the version:

    TIBCO JasperReports® Server 7.8.x - Apply cumulative hotfix  hotfix_JRSPro7.8.1_cumulative_20211118_1401.zip or newer

    TIBCO JasperReports® Server 7.9.x - Apply cumulative hotfix_JRSPro7.9.1_cumulative_20211122_0731.zip or newer

    TIBCO JasperReports® Server 8.0.0 - Apply cumulative hotfix_JRSPro8.0.0_cumulative_20211214_0456.zip or newer

    Note: Hotfixes for TIBCO JasperReports® Server can be downloaded at https://support.tibco.com/s/hotfixes

     


    Related Articles:

    JS-63364: Selecting cascading input controls values after scrolling resets position back to the top of list


    User Feedback

    Recommended Comments



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