processwire-issues icon indicating copy to clipboard operation
processwire-issues copied to clipboard

Repeater InputfieldFile custom fields not saving

Open brodiefarrell opened this issue 5 months ago • 2 comments

ProcessWire Version: 3.0.246 PHP Version: 8.3 MySQL Version: 8.0.42

Issue Summary

Saving a page with a repeater that contains a file/image field will lose the value of any custom field values.

This issue has been reported several times before and was reportedly fixed between 3.0.244 and 3.0.246.

In our case, reverting back to 3.0.244 has fixed the issue.

Steps to Reproduce

  • Create or test with a Repeater field that contains a PageFiles or PageImages field, this field must contain custom fields.
  • Create or edit a page
  • Create a new repeater item and upload a file/image, then fill out out some custom fields related to that file/image
  • Save the page, you should lose any values entered to custom fields (especially text fields)

Solution

Reverting from 3.0.246 back to 3.0.244 has fixed the issue.

Related issues

  • #2060
  • #2025

brodiefarrell avatar Jul 30 '25 06:07 brodiefarrell

@brodiefarrell, "Reverting from 3.0.266 back to 3.0.244 has fixed the issue." 3.0.266 should be 3.0.246?

Can you check if this fix https://github.com/processwire/processwire/commit/30b34c70b32a89c5843b9921063ef163de3ca246 for issue 2025 is responsible for the problems?

matjazpotocnik avatar Aug 02 '25 14:08 matjazpotocnik

Thanks @matjazpotocnik - sorry for my mistake. I have corrected my original post now to say we reversed from 3.0.246 to 3.0.244.

It does seem like the fix for issue 2060 has caused this issue to begin for us. Though I'm surprised if no one else is having the same problem...

brodiefarrell avatar Aug 03 '25 23:08 brodiefarrell