jose-mdz / Fragment

A super productive CMS
GNU General Public License v3.0
2 stars 2 forks source link

Images duplicate every time editor is loaded #5

Closed jose-mdz closed 7 years ago

jose-mdz commented 7 years ago

Images are physically duplicated whenever the page editor is loaded

jose-mdz commented 7 years ago

Defect was in ImageFragmentAdapter. Record delete was being called on File->physicalRemove(). The wrong image was being loaded when unserializing the fragment in the backend. A thorough revision to deletion methods of files is needed.