You need to sign in to do that
Don't have an account?

Deploying CustomField changes for standard objects using Force.com IDE
Has anyone had any success in deploying CustomField changes to the User or Task standard objects using the Force.com IDE?
For the User object, I'm getting the following error message:
unable to obtain exclusive access to this record
For the Task object, I'm getting the following error messages:
Field 'Subject' in 'Task' is not a picklist field
Entity Enumeration Or ID: bad value for restricted picklist field: Task
I have been able to deploy changes on the Account and Opportunity, but have been unsuccessful in deploying to User and Task objects.
Thanks
For the User object, I'm getting the following error message:
unable to obtain exclusive access to this record
For the Task object, I'm getting the following error messages:
Field 'Subject' in 'Task' is not a picklist field
Entity Enumeration Or ID: bad value for restricted picklist field: Task
I have been able to deploy changes on the Account and Opportunity, but have been unsuccessful in deploying to User and Task objects.
Thanks
There is an issue with Task record type deployment (which is what you are seeing); this issue will be fixed in a few days. Note that the custom fields for Tasks will be on the Activity object, though.
Regarding the User object, can you please contact me offline so I can gather more information about the problem (if you could send me the User.object file, that would be helpful).
Thanks,
- Bill
Never mind. There was a target picklist field that had the same name as a source text field. Deleting the target field allowed the Opportunity object to deploy.
Message Edited by Dogen Zenji on 08-28-2008 12:48 AM
Sounds like a different issue as the original issue was specific to Task/Event. I've sent you a private message; please contact me offline & we'll troubleshoot.
Thanks,
- Bill
I have found that when validating a deployment of code from sandbox to production, or actually deploying, I can generate an Apex error by trying to submit to that form.
The error I get is:
ONEN_LeadToCampaign: execution of AfterInsert
caused by: System.DmlException: ConvertLead failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, unable to obtain exclusive access to this record
Trigger.ONEN_LeadToCampaign: line 192, column 52
All tests are passing and the code deploys fine and runs fine in production once there, but salesforce.com doesn't allow lead inserts during validation or deployment.
Is this expected behavior for an API integration to fail during validation of deployment or an actual deployment?
Thanks,
Steve
thanks for the details...
I just emailed you for more details on this issue. Let's follow this offline till we locate the cause and find the solution.
Thanks
Akhilesh