Red Hat Bugzilla – Bug 1265837
Data Sets extension - Data Set Editor column type updates are not applied until the data set is saved
Last modified: 2015-11-30 01:17:43 EST
Description of problem:
In Data Set editor, changing the type for a given column when editing a data set, it does not takes effect until the data set is saved / updated.
NOTE: Currently the issue is not present in master branch, only for 0.3.x branch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Navigate to Extensions -> Data Sets
2. Edit a data set
3. Change a column type, for example, any column from type number to label. The preview table is refreshed, but the values for the column are still not formatted as if the column would be a label type.
4.- Saving the data set solves the problem, but until no save or update is done, the updated given column types are not applied on the preview table.
This bug is same as the JIRA one -> https://issues.jboss.org/browse/DASHBUILDE-45
Created the PR, waiting for all ticket flags to be set for doing the merge, if finally approved -> https://github.com/dashbuilder/dashbuilder/pull/43
Fixed on 0.3.x branch -> https://github.com/dashbuilder/dashbuilder/commit/c5923561123121c414dad06aaca55316b773e12e
Ok, now the format of data in preview table is updated right after column data type is changed. Verified with BPM Suite 6.2.0 ER4.