Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1107338 - Bundle Files page does not display all required files due to a missing page control
Bundle Files page does not display all required files due to a missing page c...
Status: CLOSED CURRENTRELEASE
Product: JBoss Operations Network
Classification: JBoss
Component: Provisioning, UI (Show other bugs)
JON 3.1.2,JON 3.2
Unspecified Unspecified
unspecified Severity medium
: DR01
: JON 3.3.0
Assigned To: John Mazzitelli
Armine Hovsepyan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-09 20:05 EDT by Larry O'Leary
Modified: 2015-09-02 20:02 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A missing page control on the Bundle Files page prevented all files in a bundle from being displayed correctly in the UI. The fix adds the page control to the Bundle Files page, which corrects the originally-reported issue.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-12-11 08:59:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
bundle-files (216.45 KB, image/png)
2014-08-06 08:15 EDT, Armine Hovsepyan
no flags Details
bundle-wizard-files (174.25 KB, image/png)
2014-08-06 08:15 EDT, Armine Hovsepyan
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 913293 None None None Never

  None (edit)
Description Larry O'Leary 2014-06-09 20:05:25 EDT
Description of problem:
If a bundle contains more than 200 files, the bundle files page only displays 200 of them.

Version-Release number of selected component (if applicable):
3.1.2

How reproducible:
Always

Steps to Reproduce:
1.  Install and start JBoss ON 3.1.2 system.
2.  Import platform resource.
3.  Create new compatible resource group called _All Platforms_:

    *   *Name*: `All Platforms`
    *   *Select Members*: _add all resources from platform category_
    
4.  Create jon-31-bundle-manyFiles bundle archive containing 300 files:

        mkdir -p jon-31-bundle-manyFiles
        pushd jon-31-bundle-manyFiles
        mkdir -p files

        cat >deploy.xml <<EOF
<?xml version="1.0"?>
<project name="manyFiles"
         default="main"
         xmlns:rhq="antlib:org.rhq.bundle">
  <target name="main" />

  <rhq:bundle name="Many Files Test Bundle"
              version="1.0"
              description="A sample bundle consisting of 300 files">
    <rhq:deployment-unit name="files"
                         manageRootDir="false">
EOF

        for file in {001..300}; do
            echo "This is File #${file}." >"files/file-${file}.txt"
            echo '      <rhq:file name="files/file-'"${file}"'.txt" destinationFile="files/file-'"${file}"'.txt" replace="true" />' >>deploy.xml
        done

        cat >>deploy.xml <<EOF
    </rhq:deployment-unit>
  </rhq:bundle>
</project>
EOF

        zip -qr ../jon-31-bundle-manyFiles.zip .
        popd

5.  From JBoss ON UI, create bundle using jon-31-bundle-manyFiles bundle archive.
6.  Navigate to the bundle's file list.

Actual results:
Total Rows is reported as 200. Additionally, note that not all the files are visible in the files table.

Expected results:
Total Rows should be 300 and all files should be visible.

Additional info:
It appears that the bundle files UI page is missing a page control.
Comment 1 Larry O'Leary 2014-06-09 21:43:26 EDT
This issue also affects JBoss ON 3.2
Comment 2 John Mazzitelli 2014-07-21 15:53:34 EDT
git commit to master: 9b6c82e
Comment 3 Simeon Pinder 2014-07-31 11:51:52 EDT
Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993
Comment 4 Armine Hovsepyan 2014-08-06 08:15:01 EDT
Created attachment 924460 [details]
bundle-files
Comment 5 Armine Hovsepyan 2014-08-06 08:15:26 EDT
Created attachment 924461 [details]
bundle-wizard-files
Comment 6 Armine Hovsepyan 2014-08-06 08:15:48 EDT
verified in jon 3.3 dr1
screen-shots attached

Note You need to log in before you can comment on or make changes to this bug.