Uploaded feature image does not index correctly

Image

When you upload an image using the features edit page, it does not seem to be getting indexed correctly in solr.

E.g., I uploaded a large image for a feature. I see the image here:

http://localhost:3002/uploads/feature/98/large_image/record_image.jpg

But in CRDL, it wants to get that image from here:

http://localhost:3002/uploads/tmp/1647521287-622756532249269-0006-2243/record_image.jpg

and rails says there's no such route.

The same thing happened earlier when I uploaded the smaller image.

Note that rake solr_reindex_features afterwards fixes the index.

Edited by Brad Baxter