Skip to content
Snippets Groups Projects
Commit e4ea5c90 authored by felmer's avatar felmer
Browse files

SSDM-5259: bug fixed: withAuthor() caused NPE

parent f8f5449a
No related branches found
No related tags found
No related merge requests found
...@@ -210,6 +210,7 @@ public class DataSetHistoryTranslator extends HistoryTranslator implements IData ...@@ -210,6 +210,7 @@ public class DataSetHistoryTranslator extends HistoryTranslator implements IData
{ {
HistoryContentCopyRecord contentCopyRecord = (HistoryContentCopyRecord) record; HistoryContentCopyRecord contentCopyRecord = (HistoryContentCopyRecord) record;
ContentCopyHistoryEntry entry = new ContentCopyHistoryEntry(); ContentCopyHistoryEntry entry = new ContentCopyHistoryEntry();
entry.setFetchOptions(new HistoryEntryFetchOptions());
entry.setExternalCode(contentCopyRecord.externalCode); entry.setExternalCode(contentCopyRecord.externalCode);
entry.setPath(contentCopyRecord.path); entry.setPath(contentCopyRecord.path);
entry.setGitCommitHash(contentCopyRecord.gitCommitHash); entry.setGitCommitHash(contentCopyRecord.gitCommitHash);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment