Bug 1265837

Summary: Data Sets extension - Data Set Editor column type updates are not applied until the data set is saved
Product: [Retired] JBoss BPMS Platform 6 Reporter: Roger Martínez <romartin>
Component: BAMAssignee: David Gutierrez <dgutierr>
Status: CLOSED EOL QA Contact: Gui Jospin <gjospin>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.2.0CC: kverlaen
Target Milestone: ER4   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:00:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roger Martínez 2015-09-23 21:47:52 UTC
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):


How reproducible:


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.

Actual results:


Expected results:


Additional info:

This bug is same as the JIRA one -> https://issues.jboss.org/browse/DASHBUILDE-45

Comment 2 Roger Martínez 2015-09-23 23:00:36 UTC
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

Comment 3 Roger Martínez 2015-09-24 19:14:59 UTC
Fixed on 0.3.x branch -> https://github.com/dashbuilder/dashbuilder/commit/c5923561123121c414dad06aaca55316b773e12e

Comment 4 Jan Hrcek 2015-10-27 09:06:48 UTC
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.