Community
Participate
Working Groups
Build Identifier: M20110210-1200 - in table pages without ITableCustomizer, the BookmarkUtility.bmLoadTablePage/bmStoreTablePage may throw a NPE - opening a bookmark, custom columns are not correctly rebuilt to fix this issue, a call to removeAllColumns without UI interaction is required - ITableCustomizer.removeColumn/removeAllColumns: a confirm dialog should be shown, in case the method is called from a menu, otherwise no UI interaction is needed - Reset all columns does not remove custom columns Reproducible: Always Steps to Reproduce: 1. Open/Create a bookmark on a table without ITableCustomizer 2. You may get a NPE 3. Existing custom columns may not be removed and replaced by the bookmark
Created attachment 206068 [details] Proposed patch.
Comment on attachment 206068 [details] Proposed patch. Please create patches in future with workspace as root.
Thanks for the patch. I reviewed and applied it to trunk for Eclipse 3.8
Created attachment 206680 [details] Bugfix Patch This ticket introduced a bug: - create a table page without search, but with ITableCustomizer - load some data - create a bookmark and reload it immediately (e.g. to force a table refresh) => the table data will not reload Reason: - the introduced ITable.resetColumnConfiguration() does remove all rows, since there are potentially new custom columns on the table customizer - now we have to force a table reload to refresh the table Bugfix forcing reload of table data.
Ticket reopened due to last comment.
Thanks for the second patch. I reviewed and applied it to trunk for Eclipse 3.8
ticket closed. deliverd as part of eclipse scout 3.8.0 (juno release train)