Here is the scenario,
> Create 2 Master Detail relationship fields and 2 Lookup fields on any Custom Object
> Deploy these changes to target Org
> Now convert 1 master-detail relationship to lookup field and 1 lookup field to master-detail relationship field
> Now again deploy this change to the target org and it fails with the below error message.
Error: You cannot create this type of field because this object already has two master-detail relationships.
Technically, master-detail already converted to look-up relationship so it should just update the field on the target org. But it is not happening?
Any explanation would be helpful?