Skip to content

Commit

Permalink
Merge pull request #8028 from artoscinote/ma_SCI_11237
Browse files Browse the repository at this point in the history
Don't export protocol asset version metadata [SCI-11237]
  • Loading branch information
artoscinote authored Nov 8, 2024
2 parents 8912bb4 + bfeea3c commit 575920f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utilities/protocols_exporter_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def asset_xml(asset)
"<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

0 comments on commit 575920f

Please sign in to comment.