Repository navigation
Description
Summary
Saved Post Taxonomy selections can disappear when an existing import is saved without first opening Map Content. Expected behavior is for unchanged selections to survive edits elsewhere in the import. Instead, the selections are cleared, which can remove the import's configured category-assignment behavior.
Customer context
- Product / area: Feedzy import editor, Map Content → Post Taxonomy.
- Version: Lite 5.2.15 with Pro 3.2.4; the relevant behavior remains in Lite 5.2.16.
- Environment: WordPress 7.1.4, PHP 8.3.36, Hello Elementor 3.5.2.
- Reported symptom: One import lost its auto-category selection and a publisher taxonomy selection; the customer restored them.
- Impact: Saved classification choices disappear from the affected import. The transcript does not establish deletion of global Auto Categories Mapping rules.
Reproduction notes
Source-derived verification scenario, not runtime-reproduced:
- Configure and save an import with a Post Taxonomy selection.
- Reopen the existing import.
- Leave Map Content closed and edit only the import title or General Feed Settings.
- Save the import.
- Reopen Map Content and inspect the saved selection.
The customer reported disappearing selections but did not supply this exact edit sequence.
Diagnosis
Conclusion
Source inspection confirms that saving an existing import without opening Map Content can delete its saved Post Taxonomy selections. The editor initially renders that submitted field empty, while the save handler interprets its omission as an instruction to clear it. This explains the reported kind of configuration loss, although the customer's exact edit sequence was not captured.
Where this likely occurs
includes/views/import-metabox-edit.php— Post Taxonomy controls withinFeedzy_Rss_Feeds_Import::add_feedzy_import_metaboxes(), lines 160–186: stores saved selections in the post-type control'sdata-taxattribute, while the submittedfeedzy_post_termsmultiselect contains no options initially.includes/views/js/import-metabox-edit.js—initImportScreen(), v5.2.15 lines 509–556: binds taxonomy loading to post-type changes without triggering that change on initialization; its save-button handler submits the form directly.includes/views/js/import-metabox-edit.js—feedzyAccordion(), v5.2.15 lines 1385–1405: triggers taxonomy loading when Map Content is opened.update_taxonomy(), approx. lines 351–479, populates the selection through AJAX.includes/admin/feedzy-rss-feeds-import.php—Feedzy_Rss_Feeds_Import::save_feedzy_import_feed_meta(), lines 724 and 752–775: normalizes an omittedimport_post_termto an empty string and subsequently deletes its metadata.- Regression evidence: commit
7cbb02e08eb2004b57ddbc6de489eb163143e789, first contained in v5.1.0, introduced the missing-field-to-empty assignment. In v5.0.10 the handler only iterates submitted metadata, so an omitted taxonomy field is not rewritten. Earlier commitfa943f9aa74e598da0ec678eef3a97e2bb140b38introduced accordion-dependent loading; it predates this destructive save behavior. The combined path remains in v5.2.15 and v5.2.16.
Engineering notes
This is one field-persistence defect: the auto-category marker and ordinary taxonomy terms are values of the same import_post_term selection. The report does not demonstrate that global keyword-mapping rules were erased. Saving without opening Map Content is sufficient for the inspected path; an AJAX race is not required. Pro's term-processing hooks were inspected, and no alternate initial hydration or pre-submit preservation path was found. The diagnosis relies on plugin source; WordPress metadata operations were not runtime-tested here. Open issue #947 concerns Tagify interactions in automated tests, not this omitted taxonomy field; closed issue #826 concerns a disappearing placeholder, not saved selection loss.
Test coverage status
tests/test-import.php, approx. lines 107–155, explicitly supplies import_post_term and verifies the stored category. It does not exercise an existing import saved with the taxonomy selector uninitialized. Inspected cases in tests/e2e/specs/import.spec.js, approx. lines 596–656, open Map Content for their workflows and do not check this preservation scenario. No relevant coverage was found during inspection. Tests were not executed; PHP is unavailable in the environment.
What to verify or explore next
- Save an import with Post Taxonomy selections, reopen it, edit its title or General Feed Settings without opening Map Content, save, and inspect the persisted selections.
- Compare the same workflow against v5.0.10 and v5.1.0.
- Verify preservation separately with a standard category, an auto-category marker, and a custom taxonomy term.
- Compare saves made before and after opening Map Content and completing its taxonomy request.
Unknowns / follow-up
The customer's precise sequence before the values disappeared is unknown. No customer site was accessed and no full WordPress runtime reproduction was performed.
Confidence
Confidence: 98/100
The initially empty submitted control and unconditional missing-field deletion establish a reachable data-loss path; tagged history identifies the release that introduced destructive persistence.
Source: HelpScout #3446381319
Generated by bug-report-triage (ID: bug-report-triage_6af8da03bc39a4.56329983)
Activity
girishpanchal30 commentedon Nov 16, 2026
i have fixed it with PR #1387
milicavs commentedon Nov 17, 2026
🧪 QA steps and test links
Saving an existing import without opening Map Content wipes its saved Post Taxonomy selections (categories, custom taxonomy terms, Auto Categories). Any small edit, such as renaming the import, silently removes the category assignment.
6306c1cIn the links:
debug.log.Reproduce on Feedzy 5.2.16:
Edge cases
Fix: #1387 (open)
pirate-bot commentedon Nov 17, 2026
QA agent — 🟢 Passing checks · Taxonomy selections survived the reported save on the candidate.
The reported loss reproduced on the base build but not on the candidate, including with the customer's plugin and theme versions. Category, auto-category and custom-taxonomy selections survived the tested saves; clearing, post-type changes, limited lists and delayed or failed loads also worked. The Pro license was simulated. An unusual import with no taxonomies cleared old selections on both builds and needs a decision.
Worth a human look
Checks (8 passed)
Full report, evidence and session trail
pirate-bot commentedon Nov 19, 2026
🎉 This issue has been resolved in version 5.2.17 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀