Problem/Motivation

When testing #3343245: All internal path redirects are unpublished when translation is unpublished, I found that I could get unpublished translations to switch back to published in Quant when running a seed.

Steps to reproduce

  1. Install Drupal in English
  2. Install and configure quant, language, and content translation modules
  3. Add a language
  4. Create a published node with an alias
  5. Add a translation with a different alias
  6. Unpublish the translation
  7. Check Quant dashboard and the translation shows as unpublished
  8. Run a seed for nodes
  9. Result: Check Quant dashboard and the translation now show as published
  10. Expected result: The translation should still be unpublished

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

Comments

Kristen Pol created an issue. See original summary.

kristen pol’s picture

Noticed this when testing:

#3343266: [warning] Undefined variable $res QuantApi.php:287

so will probably just fix here.

kristen pol’s picture

Same is true for taxonomy terms.

kristen pol’s picture

Assigned: Unassigned » kristen pol

Assigning to myself.

kristen pol’s picture

kristen pol’s picture

Status: Active » Needs review
kristen pol’s picture

Version: 1.5.0 » 1.x-dev

Target dev version.

kristen pol’s picture

Assigned: kristen pol » Unassigned
Status: Needs review » Fixed

This has been merged in GitHub and will be merged into the Drupal.org repo soon and will be in the next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kristen pol’s picture

Part of 1.6.0 release.