Fixed Unable to save custom fields

TickTackk

Well-known member
Affected version
2.0.x
Steps to reproduce:
  1. Create an embedded media with YT link
  2. Add custom fields in ACP
  3. Edit the media added and enter some value for the new fields
  4. Save
  5. None of those values are saved/fetched
 
Thanks, this is sorted now, there's kind of two issues. One is fixed retroactively, one isn't.

The first issue applies to anyone using custom fields in MG 1.1 prior to upgrading to MG 2.0. The category table field_cache format changed and we didn't update it during the 2.0 upgrade. This isn't fixed retrospectively but you can do so by just going into any field and hitting "Save". I suspect most people won't have been affected because at some point if they've added or changed fields then this will have updated all of them to the correct format.

The second issue applied to the xfmg_media_edit template - it wasn't filtering out fields that didn't apply to the media's category, so essentially all fields were showing on edit, even if they weren't allowed in that category or album.

These changes will be in XFMG 2.0.6 and/or XFMG 2.1.0.
 
Top Bottom