Resolution attempt for #46
all entities are listed including deleted items (which may have no revisions as a result of deletion) if we call for the scoped listing with .visible should remove deleted items and rectify issue.
This commit is contained in:
parent
c253c04bfc
commit
e46d07e8a2
@ -68,8 +68,8 @@ class DmsfZip
|
||||
rescue
|
||||
end
|
||||
@zip_file.put_next_entry(string_path)
|
||||
folder.subfolders.each { |subfolder| self.add_folder(subfolder, root_path) }
|
||||
folder.files.each { |file| self.add_file(file, root_path) }
|
||||
folder.subfolders.visible.each { |subfolder| self.add_folder(subfolder, root_path) }
|
||||
folder.files.visible.each { |file| self.add_file(file, root_path) }
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user