function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vandana RattanVandana Rattan 

error deploying changeset

I have created a changeset that contains only an edit to a URL name in a tab. I am getting errors deploying it in production for test classes which are not even in my changeset. Kindly help.
Best Answer chosen by Vandana Rattan
Vandana RattanVandana Rattan
Resolved the errors and deployed changeset. I t worked. My user profile did not have some permissions so the errors were coming. Thanks LBS.

All Answers

LBSLBS
Did you able to validate the change set successfully? 

Basically what will happen is when ever you try to validate a change set it runs all test classes in the production including the test classes in your changeset to check the overall coverage. So it does not matter it is related to your change set or not. 
Vandana RattanVandana Rattan
Thanks for your reply LBS. No the validation itself is failing. Also, in order to resolve one of the issues I need to assign a Record Type to User Profile. The Record Type is unavailable in Available Record Types list.
Vandana RattanVandana Rattan
Resolved the errors and deployed changeset. I t worked. My user profile did not have some permissions so the errors were coming. Thanks LBS.
This was selected as the best answer