[SalesForce] Broken deployment: Case.SourceId, AddContact is not a standard action, and more

It looks as if a field called "SourceId" suddenly showed up in my org, on the Case object. Previously, I had taken all of my org's metadata, and placed it into TFS (Team Foundation Server), as part of a continuous integration process. The CI server pushes updates from TFS to our partial sandbox.

The build is broken now, and I cannot deploy with Ant. Here is the error message:

  1. profiles/Admin.profile — Error: In field: field – no CustomField named Case.SourceId found

Sure enough, the following section is in my Case metadata now, but does not appear in TFS (the previous version of metadata):

<fields>
    <fullName>SourceId</fullName>
    <trackFeedHistory>false</trackFeedHistory>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Lookup</type>
</fields>

This field is not visible in the UI, and there appears to be no way to deploy this change to our partial sandbox. Interestingly, both my developer sandbox and partial sandbox were on CS11, and have been upgraded to Winter 16. If this SourceId field was going to appear in my developer org, why didn't it appear in the partial environment?

There are numerous other strange messages, such as:

objects/Case.object — Error: No more than 10 columns may be specified
in lookupPhoneDialogsAdditionalFields (line 65628, column 20)

and:

objects/Contact.object — Error: AddContact is not a standard action
and cannot be overridden.

What even?

Best Answer

This is actually a known issue. SFDC will be releasing a patch for this soon - https://success.salesforce.com/issues_view?id=a1p300000001ALuAAM

Related Topic