kuali/kc — pull request #1062 by jwillia (2014-11-03 17:34:37+00:00)
Title: KRACOEUS-8266:update all references before printing s2s forms

makes sure that all references are updated before printing an s2s form by saving the document then retrieving the document to get the updated references. Tried other methods to this but couldn't get them to work.

tried getDataObjectService().wrap(form.getDevelopmentProposal()).materializeReferencedObjectsToDepth(5, MaterializeOption.INCLUDE_EAGER_REFS); but was getting errors, and it wasn't working.

let me know if you have a better suggestion to make sure all references are updated before printing.