Community
Participate
Working Groups
Build Identifier: 20100617-1415 Setting the width of a TableColumn to 0 leads to a negative value for the image width, which is transferred to client as part of the item metrics. This in turn either crashes the application (IE) or leaves the image visible because the width value is not accepted. Reproducible: Always Steps to Reproduce: 1. Provide the means to set the width of a TableColumn to 0 (e.g. a button) 2. Initially the width of the target column is > 0 3. The target column should contain images 4. Set the width of the target column to 0 by selecting the button
Created attachment 189161 [details] Patch checks for negative maxImageWidth in TableLCAUtil.getItemMetrics
Fixed by ensure that the image width is not negative in TableLCAUtil#getItemMetrics(). Changes are in CVS HEAD.