When you are renaming file from 'public://' folder, you are bringing extra slash, so uri becomes 'public:///file_name.ext'. After this IMCE cant get entity and creates new file entity with new uri from old uri. Seems it's wrong behavior. It should consider files, which are located in the 'public://' folder and doesn't add additional slash to uri.

Comments

hadros created an issue. See original summary.

zulljin’s picture

Thank you for the message, I will look at it in the near future.

  • Zulljin committed d617eab on 8.x-1.x
    Issue #2937344 by hadros, Zulljin: Wrong uri from public:// folder
    
zulljin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.