If an attachment is uploaded before a form is saved, the attachment gets linked to the temporary name of the document or the child table row. When the form is finally saved, the attachment’s “attached_to_name” field doesn’t autoupdate. As a result the attachment doesn’t show up in the attachment section of the sidebar (though the path does show in the field itself). Is there a way to tackle this?