- edited description
Problems with deploying a brand new Custom Object
Hi,
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 (6)
-
reporter -
repo owner Can you please enable debug logging for metadata deployment, reproduce the issue, and either attach or email the resulting
idea.log
using Help>Show Log in Explorer/Finder/Files? -
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.
-
reporter - changed status to invalid
-
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!
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment