Page Layout Deletion Not Detected
When I remove a page layout from my Git repository (the file and the package.xml entry) and then do a comparison to an org that it still exists in, Gearset fails to detect a deletion. It doesn't even show up in the All objects tab. It happened to me yesterday and then I just reproduced it now.
-
SfdcHawkeye commented
Ahh... interesting. Where is this feature documented? We do use an Ant process and also the Illuminated Cloud IDE as part of our CI solution. Keeping a file in package.xml after it has been deleted seems counter to the approaches other tools take in maintaining package.xml. Would it be possible to add an option in Gearset to configure this behavior?
Sent from my iPhone -
Hey there! Gearset will respect any package.xml in the source git repo and use it as a filter during metadata retrieval, so by removing the layout from the package.xml you've completely excluded it from the comparison. If you want to see this appear as a deletion in the results, either add it back to the package.xml or create a branch without the package.xml. Do you use the package.xml with Ant / other apps?