-
Notifications
You must be signed in to change notification settings - Fork 53
undeploy GeneratePackageMembersStdObjCustomElements2 target failing #15
Comments
@Comic96 Have we fixed this in our internal copy, i'm sure i've seen this before? cc @roc-wilcox |
Did you solve it, @afawcett? I faced with the same issue. |
I'm asking around internally within FF R&D... |
@afawcett did you solve it ? |
This is pretty much the same sort of response as [https://github.com//issues/19]. It maybe the script needs enhancing to unpick the references from the Profiles, or attempt to delete them as well in the same request. |
I'm having same same but different types of undeploy problems. One thing we fail in is the fact that lookups from managed objects to custom objects makes the undeploy fail since removing the custom class breaks the lookup dependency. Removing those lookups is not done because the managed objects do not get included when reading metadata from the org. I'm wondering if one could create somewhere to put for example a list of managed objects that should get cleaned up, which would include them in the object retrieve? Another welcome improvement would also be handling of aura bundles, both on deploy and undeploy. We also have customMetadata and permissionSets in our metadata. They were not included in the deploy.zip build, although it was easily fixed in deploy.xml Of course, being on Github, I guess I should put that fork I mistakenly created to good use :) |
👍 |
I've marked this as an enhancement idea. What do you think is a better title for the issue? |
I'm unable to perform undeploy target when profiles use my custom app as default for landing as well as having active filter lookup in custom object.
GeneratePackageMembersStdObjCustomElements2:
[antcall] Exiting /home/gitlab_ci_runner/gitlab-ci-runner/tmp/builds/project-3/build.xml.
[antcall] Exiting /home/gitlab_ci_runner/gitlab-ci-runner/tmp/builds/project-3/build.xml.
[sf:deploy] Request for a deploy submitted successfully.
[sf:deploy] Request ID for the current deploy task: 0Af28000000WyVcCAK
[sf:deploy] Waiting for server to finish processing the request...
[sf:deploy] Request Status: InProgress
[sf:deploy] Request Status: InProgress
[sf:deploy] Request Status: InProgress
[sf:deploy] Request Status: InProgress
[sf:deploy] -----------------------------------------------------------------------------------
[sf:deploy] Component Failures:
[sf:deploy] 1. -- Error: Unable to delete custom app. Profiles are using this custom app as default.
[sf:deploy] 2. objects/Account.object (Account.Active__c) -- Error: This custom field is referenced elsewhere in salesforce.com. : Filtered Lookup. This custom field is referenced elsewhere in salesforce.com. : Filtered Lookup.
The text was updated successfully, but these errors were encountered: