Repository: nifi
Updated Branches:
  refs/heads/master 812731497 -> 3e064101e


NIFI-1948 Fixed encoding-version attribute not getting created in exported 
templates. This closes #485


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/3e064101
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/3e064101
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/3e064101

Branch: refs/heads/master
Commit: 3e064101e9df8cfef037a20a69b7735771722370
Parents: 8127314
Author: Jeff Storck <[email protected]>
Authored: Wed Jun 1 11:36:41 2016 -0400
Committer: Matt Gilman <[email protected]>
Committed: Thu Jun 2 09:29:11 2016 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/3e064101/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java
index 4e15e3b..d5c5f1d 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java
@@ -746,6 +746,8 @@ public final class DtoFactory {
         copy.setDescription(original.getDescription());
         copy.setTimestamp(original.getTimestamp());
         copy.setUri(original.getUri());
+        copy.setEncodingVersion(original.getEncodingVersion());
+
         return copy;
     }
 

Reply via email to