Skip to content

Commit

Permalink
#303 - Added missing setter when updating a component
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Dec 13, 2019
1 parent 3cd7158 commit 44d6cdf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ public Component updateComponent(Component transientComponent, boolean commitInd
component.setParent(transientComponent.getParent());
component.setCpe(transientComponent.getCpe());
component.setPurl(transientComponent.getPurl());
component.setInternal(transientComponent.isInternal());
final Component result = persist(component);
Event.dispatch(new IndexEvent(IndexEvent.Action.UPDATE, pm.detachCopy(result)));
commitSearchIndex(commitIndex, Component.class);
Expand Down

0 comments on commit 44d6cdf

Please sign in to comment.