Red Hat Bugzilla – Bug 802504
Cannot view directory entries in drift snapshot view
Last modified: 2013-08-31 06:14:20 EDT
Description of problem:
When you go to the snapshot view for a drift definition and expand a directory row, the directory contents do not render. The row appears to expand, but the table that contains the directory contents does not render. This may be another regression from the SmartGWT upgrade.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a drift definition.
2. Generate an initial snapshot.
3. Go to view the initial snapshot.
4. Click on the arrow on the row for the base directory.
The row expands but you will not see the files in the base directory.
You should see the files in the directory.
Created attachment 569462 [details]
screen shot of the issue
I have just tested and verified that the issue is happening in RHQ 4.3.0.
master commit 2977e0a0a40af3757693fa226f5c8d6145d0a688
The smartgwt upgrade had a bad effect on our expansion components. The
drift snapshot and drift template views both use expandable rows. There
were a couple of contributing issues rooted in the fact that our
expansion components extended Table. Table manipulates the
canvas and grids in a pretty heavy manner, and the expansion components
needed to be able to override a couple of things. Another problem, for
whatever reason, was that Table's base component is an HLayout and in the
constructor we set the HLayout to Overflow.Hidden. This messed up
expansion even though it seemed removed. Anyway, This setting was put in
place long ago and I don't think it's actually needed. So, I've commented
*** Review Alert ***
This is a change to Table that *seems* ok, if you know otherwise please
let me know !!!
If necessary, it could be added back in a way that it could be overridden
by a protected method, or set via constructor.
*** Bug 802501 has been marked as a duplicate of this bug. ***
Verified on the Build:
Build Number: 5ffafd2
GWT Version: 2.4.0
SmartGWT Version: 3.0
OS: RHEL 6.1 X86_64
Browser: Firefox ESR 10.0.3
Listing directory view as expected.
Bulk close of old bugs in VERIFIED state.