How do you guys resolve this deployment issue whic...
# sdf
u
How do you guys resolve this deployment issue which actually removing the link.
Copy code
WARNING -- One or more potential issues were found during custom object validation. Details: Circular dependencies detected. The following custom objects reference each other in a way that creates direct dependencies. If deployment fails, ensure that each custom object does not reference any custom object that references it.
I don't want to mess the installation of the custom record since they are for the UX side
m
I have this in my deployments. it's a warning that from what I've seen, is harmless and there isn't really anything to do about it. I haven't run into issues with circular dependencies causing a failure in deployment
j
If you have a lot of objects/files- manually reference each object/file and see if you can control the order in which sdf imports the files in deploy.xml instead of
Copy code
<deploy>
    <files>
        <path>~/FileCabinet/*</path>
    </files>
    <objects>
        <path>~/Objects/*</path>
    </objects>
</deploy>
try
Copy code
<deploy>
    <files>
        <path>~/FileCabinet/SuiteSripts/whatever.js</path>
        <path>~/FileCabinet/SuiteSripts/whatever2.js</path>
    </files>
    <objects>
        <path>~/Objects/customscript_whatever.xml</path>
        <path>~/Objects/customscript_whatever2.xml</path>
    </objects>
</deploy>
circular refs don’t appear to be fatal to the import. Also, you can try to break down your account customization packages into smaller ones.