Assets Disappearing

  • We have a site that for some reason loses it's data - particularly on a repeater code:

    1. <perch:repeater id="files" label="PDF Files">
    2. <perch:content id="file" type="file" label="File" accept="pdf doc rfa" />
    3. <perch:content type="text" id="filename" default="Specifications Sheet" label="Download Name" />
    4. </perch:repeater>

    Checking some entries, in random, some PDF Files are missing.


    It doesn't happen on the entry being edited, it happens on other entries that have not been touched. Wondering if anyone have any clue to a resolution. Appreciate it.

    1. Perch Runway: 3.1.5, PHP: 7.1.29, MySQL: 5.6.44, with PDO
    2. Server OS: Linux, litespeed
    3. Installed apps: content (3.1.5), assets (3.1.5), categories (3.1.5), perch_forms (1.10), redfinch_logger (1.0.1)
  • drewm

    Approved the thread.
  • drewm any possible solutions? The issue is hard to debug as file assets affected are not the entry that is being saved, but other entries.

    I also noticed that it's usually the last file in the array, so could it be an index issue?