Don't export protocol asset version metadata [SCI-11237]

This commit is contained in:
Martin Artnik 2024-11-08 14:52:49 +01:00
parent 8912bb44b0
commit bfeea3ca43

View file

@ -132,7 +132,7 @@ module ProtocolsExporterV2
"<asset id=\"#{asset.id}\" guid=\"#{asset_guid}\" fileRef=\"#{asset_file_name}\">\n" \
"<fileName>#{asset.file_name}</fileName>\n" \
"<fileType>#{asset.content_type}</fileType>\n" \
"<fileMetadata><!--[CDATA[ #{asset.file.metadata.to_json} ]]--></fileMetadata>\n" \
"<fileMetadata><!--[CDATA[ #{asset.file.metadata.except('version', 'restored_from_version').to_json} ]]--></fileMetadata>\n" \
"</asset>\n"
end
end