[642] Remove the unused template action and complain if there is no data