The reason it works when you use change the controller is you are bypassing the document service and going back to the legacy entity service (which is depricated)
The reason it works when you use change the controller is you are bypassing the document service and going back to the legacy entity service (which is depricated)