Skip to content

Commit

Permalink
clear mapping when initializing ExtractAction
Browse files Browse the repository at this point in the history
clear mapping when initializing ExtractAction to support correct display of soql results without closing the extraction wizard.
  • Loading branch information
ashitsalesforce committed Oct 23, 2023
1 parent 676b9e4 commit 50d5dca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ protected List<String> getStatusColumns() throws ExtractException {

@Override
protected void initOperation() throws DataAccessObjectInitializationException, OperationException {
((SOQLMapper)getController().getMapper()).clearMap();
if (getController().getConfig().getBoolean(Config.LIMIT_OUTPUT_TO_QUERY_FIELDS)) {
final List<String> daoColumns = getDaoColumnsFromMapper();
getDao().setColumnNames(daoColumns);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ public Collection<String> getDestColumns() {
}

public void clearMap() {
super.clearMap();
this.extractionMap.clear();
this.isInitialized = false;
}
Expand Down

0 comments on commit 50d5dca

Please sign in to comment.