xwiki/xwiki-platform — comment on commit 14fd395e58dfbf3b0d05bbd94086afc856fd366a
File: xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateAction.java line 450
By mflorea:

Content author is set in Hibernate store if isContentDirty document flag is set. readFromTemplate should set this flag IMO (directly or indirectly) if the template has any content.