Fixes file not working because of refactor.

This commit is contained in:
gkolokythas 2019-04-16 15:35:16 +03:00
parent 0da7fd8441
commit 534d37668b
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class DocumentManager {
PagedDatasetProfile pagedDatasetProfile = datasetManager.getPagedProfile(dataset, datasetEntity); PagedDatasetProfile pagedDatasetProfile = datasetManager.getPagedProfile(dataset, datasetEntity);
visibilityRuleService.setProperties(properties); visibilityRuleService.setProperties(properties);
visibilityRuleService.buildVisibilityContext(pagedDatasetProfile.getRules()); visibilityRuleService.buildVisibilityContext(pagedDatasetProfile.getRules());
File file = xmlBuilder.build(pagedDatasetProfile, visibilityRuleService); File file = xmlBuilder.build(pagedDatasetProfile, UUID.fromString(id), visibilityRuleService);
FileEnvelope fileEnvelope = new FileEnvelope(); FileEnvelope fileEnvelope = new FileEnvelope();
fileEnvelope.setFile(file); fileEnvelope.setFile(file);
fileEnvelope.setFilename(datasetEntity.getLabel()); fileEnvelope.setFilename(datasetEntity.getLabel());