Problems with deploying a brand new Custom Object

Issue #1727 invalid
Marcel Pękacki created an issue


I’ve updated my Git repository (project uses old package.xml model) with newest changes. There is a new Custom Object src/objects/MyObj__c.object. When I try to deploy it using Deploy All Metadata and Custom scope I get an error:

objects/MyObj__c.object: ERROR at line 1, column 1 - MyObj__c does not exist or is not a valid override for action Edit.

The same error appears if I try to use Force Save function.

Of course the object does not exist in my sandbox, I want to create it in the first place.

I’m sure that in the past I could deploy new objects with no problem in such a way.

The object is included in package.xml section for CustomObject.

Comments (5)

  1. Marcel Pękacki reporter

    @Scott Wells

    @Scott Wells

    Thanks for the super quick reply! I did as you asked and it helped me to realize that the error actually comes from Salesforce (I can see it in Deployment Status), not Illuminated Cloud. I actually made a mistake in the bug report - the message said “MyObj does not exist or…” and MyObj is the name of the page that overrides the Edit action 🙂 So this is purely a completely normal Salesforce metadata issue. I’m closing the ticket, sorry for the false alarm.

  2. Scott Wells repo owner

    Hah! No problem. That's actually why I ask for logs immediately. Sometimes they unveil easy answers. I'm glad this was just such a case. Take care!

  3. Log in to comment