Add message to avoid publication = True when transferOutput = False
Merge pull request #4154 from AndresTanasijczuk/message

Add message to avoid publication = True when transferOutput = False