Skip to content

Commit

Permalink
Issue #545: fix doctype association for sub-doctypefield
Browse files Browse the repository at this point in the history
  • Loading branch information
mrk-vi committed Aug 29, 2023
1 parent ad29e75 commit 7ad4e6a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public Uni<DocTypeField> createSubField(

DocTypeField docTypeField = mapper.create(docTypeFieldDTO);
docTypeField.setParentDocTypeField(parentDocTypeField);
docTypeField.setDocType(parentDocTypeField.getDocType());
subList.add(docTypeField);
return persist(docTypeField);

Expand Down

0 comments on commit 7ad4e6a

Please sign in to comment.