Identify that metadata is the same, even if ordered differently by metadata API
There are a lot of instances where the comparison will identify metadata as different, but the only difference is the way the API is ordering the XML. I've seen it happen a lot with picklist values on multi-select picklist fields. It would be nice to be able to turn this on/off somehow so that metadata that isn't truly different won't show up in the difference compare.
Please see if anything else could be improved on in the feature description released in Nov 2021.
-
Ralph Callaway commented
for what it's worth, gearset pitches themselves as deeply understanding salesforce deployments, spending the time to figure out how to canonicalize salesforce's xml metadata seems like a great way to demonstrate what makes gearset special as opposed to all the home grown scripts i can write with source control
-
Ralph Callaway commented
really wish there was a global way to do this for all xml, otherwise i have to step through 500 differences, check a box, and then see that there are 0 differences. at scale the button is tough to leverage
-
Brian Carlson commented
This was updated as completed today, but nothing changed since Nov 2021. I had one the other day with multiple approval objects. The only difference was the order the approvers was returned in varied, but it was not an important difference. Using the hide ordering eliminated them, but I had to examine each one to see which ones had other differences.
-
Paweł Woźniak commented
Yes, this would be useful to have an option to not show on the list at all items with has reordered XML. That would make comparison easier.
-
Phil Hirons commented
Perhaps a new header on the compare results Changed Items (reorder only)
-
Does the information on https://docs.gearset.com/en/articles/2413367-why-is-xml-order-of-some-metadata-in-the-comparison-results-different help address this issue?
-
Brian Carlson commented
The Hide reordering option is nice, but it would be nice to be able to tell from a large list, which ones are actually different vs ones that just have API order returned in arbitrary order.