Taxonomy term seeding should honor “Disable content drafts” option

Created on 16 February 2023, over 1 year ago
Updated 20 January 2024, 10 months ago

Problem/Motivation

The “Disable content drafts” option currently doesn't work for taxonomy terms, only nodes.

Steps to reproduce

  1. Configure Quant
  2. Go to Configure tab
  3. Uncheck "Disable content drafts" and click "Save configuration" button
  4. Create an unpublished taxonomy term
  5. Check Quant dashboard and content
  6. Result: Content is listed
  7. Expected result: Content shouldn't be listed
  8. Same is true for using Drush as follows:
  9. Delete content from Quant manually from previous testing
  10. Go to Seed tab
  11. Choose "Taxonomy terms" and click "Save and Queue" button
  12. Run drush quant:run-queue
  13. Check Quant dashboard
  14. Result: Content is listed
  15. Expected result: Content shouldn't be listed

Proposed resolution

Debug and fix.

Remaining tasks

  1. Debug
  2. Update code
  3. Review and test
  4. Commit :)

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024