How do I compare attachment references?
so in our migrate/copy project from one server to another, we are copying attachments and fixing up all the references.
one area is the comments documenting the attachment add.
we are trying to add the link in the comments to the existing attachment.
so we know we have attachments and we have the id, link and reference to it, but
we are trying to figure out what to compare it to.
we made another attachment object in memory, then run thru all the link references, and try to compare with
reference.sameDetailsAs(reference) and referenceExcludingCommentsAs(reference)
neither match.
we tostring() the references and one has extrainfo=null and one has extrainfo= not set.
any pointers welcomed.