Drush seed pushes unpublished content when “Disable content drafts” is checked

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

Problem/Motivation

When “Disable content drafts” is checked (enabled) and you create an unpublished node, the content is not pushed to Quant upon node creation. But, if you run a seed on nodes, it does get pushed.

Steps to reproduce

  1. Configure Quant
  2. Go to Configure tab
  3. Check "Disable content drafts" and click "Save configuration" button
  4. Create an unpublished node
  5. Check Quant dashboard and content will not be there as expected
  6. Go to Seed tab
  7. Choose "Nodes" and click "Save and Queue" button
  8. Run drush quant:run-queue
  9. Check Quant dashboard
  10. Result: Content is listed
  11. 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