src/com/netscape/admin/dirserv/panel/SchemaAttributesPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8dd0505b8c8c1b7ecb123bae4c5ae6f31c07dcfa Author: Mark Reynolds mreynolds@redhat.com Date: Thu Aug 28 11:25:10 2014 -0400
Ticket 47883 - DS Console - java exception when refreshing schema
Bug Description: An index array goes out of bounds when refreshing the schema.
Fix Description: There is a static list of 4 widths to use for the schema attribute panel, but there are 7 columns. Added the missing 3 widths to the _widths array.
https://fedorahosted.org/389/ticket/47883
Reviewed by: rmeggins(Thanks!)
diff --git a/src/com/netscape/admin/dirserv/panel/SchemaAttributesPanel.java b/src/com/netscape/admin/dirserv/panel/SchemaAttributesPanel.java index 5514b2f..e99ac1a 100644 --- a/src/com/netscape/admin/dirserv/panel/SchemaAttributesPanel.java +++ b/src/com/netscape/admin/dirserv/panel/SchemaAttributesPanel.java @@ -745,7 +745,7 @@ public class SchemaAttributesPanel extends BlankPanel private AttrTableModel _userDefTableModel = null; private AttrTableModel _stdTableModel = null;
- private static int _widths[] = { 130, 160, 115, 40 }; + private static int _widths[] = { 130, 160, 115, 40, 40, 40, 40 }; /* Index of multi/single checkbox column */ private final static int MULTI_INDEX = 3; private static Hashtable _htSyntaxStrings = null;
389-commits@lists.fedoraproject.org