Skip to content

Commit

Permalink
MET-1388 metadata not copied for data model
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed Feb 9, 2017
1 parent e4e20ae commit 7b40528
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 7b40528

Please sign in to comment.