Lightroom does not import XMP along with DNG if XMP modified date is before DNG modified date
Issue: Lightroom does not import XMP along with DNG if the XMP's modified date is before the DNG's modified date
Provide Lightroom version: LrC 12.2.1, although this issue is also present on lastest Lightroom Cloud-based and Camera RAW in Photoshop
Provide OS and version: Windows 11
Issue:
Step 1: Have a DNG file and a corresponding XMP file with the same file name, with the XMP's modified date before the DNG modified date. This can happen when copying files across USB drives or downloading files.
Step 2: Import the DNG to latest LR Classic, LR, and PS Camera RAW. Notice the XMP profile is not imported or applied.
Step 3: Delete the image from the catalog. Do some random edit on the XMP, save it, and revert it back, so that the XMP's modified date is after the DNG modified date.
Step 4: Import the DNG file again. Notice XMP profile is correctly loaded.
Expected result: Lightroom should import and apply XMP profiles after both Step 2 and 4.
Actual result: Lightroom does not load XMP profiles after step 2, but does after step 4.
