This bug is driving me crazy. Upgraded to the newest lightroom today (from 8.4) expecting this would be fixed by now. I'm doing a lot of product photography, sometimes retouching in lightroom isn't enough so I switch to editing the original JPEG file. When saving the image and returning to lightroom the aspet ratio of the image is all wrong and all the edits are upside down (I would like to keep the lightroom edits). This only happens with portrait photos, not landscape. I have deleted my user profile settings in Photoshop as suggested somewhere, tried the "Automatically write changes to XMP" but nothing is working. Please help..
on a Mac, Monterey 12.6.1, Lightroom 12.3, Photoshop 24.5
Video of the workflow: https://www.dropbox.com/s/mll45wxvhj0lx7n/Aspect%20ration%20rotation%20bug.mov?dl=0