Skip to content

Commit

Permalink
Merge pull request #933 from MetadataConsulting/MET-1388-metadata-not…
Browse files Browse the repository at this point in the history
…-copied

MET-1388 metadata not copied for data model
  • Loading branch information
musketyr authored Feb 9, 2017
2 parents e4e20ae + 7b40528 commit eed67a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ class DataModel extends CatalogueElement {

@Override
void afterDraftPersisted(CatalogueElement draft, PublishingContext context) {
super.afterDraftPersisted(draft, context)
if (policies) {
for(DataModelPolicy policy in policies) {
draft.addToPolicies(policy)
Expand Down

0 comments on commit eed67a1

Please sign in to comment.