Convert source to string if it is present.
Merge pull request #15312 from JuanitoFatas/action_view/asset_path

Convert source to string if it is present.