Bug 1265837 - Data Sets extension - Data Set Editor column type updates are not applied until the data set is saved
Summary: Data Sets extension - Data Set Editor column type updates are not applied unt...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: BAM
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ER4
: 6.2.0
Assignee: David Gutierrez
QA Contact: Gui Jospin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-23 21:47 UTC by Roger Martínez
Modified: 2020-03-27 20:00 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:00:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.