Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jbylsma’s picture

Status: Active » Needs review
FileSize
410 bytes

Attached patch.

Status: Needs review » Needs work
ladybug_3777’s picture

The issue is bigger than this. That patch you referenced changes the behavior of pathauto and it shouldn't. I believe that entire patch needs to be backed out. I left a comment on this post with more detail: https://www.drupal.org/node/2308095

ladybug_3777’s picture

Status: Needs work » Closed (duplicate)

Marking this as a duplicate of the issue that should be reverted: https://www.drupal.org/node/2308095

jbylsma’s picture

Status: Closed (duplicate) » Needs review
FileSize
371 bytes

This is not a duplicate, and the patch provided does not address the Pathauto issue. There is a duplicate $node->live_revision assignment in workbench_moderation_store(), just minor clean up. I think reverting the Pathauto issue will be tricky and manual, so I believe this patch is still applicable.

Rerolled patch attached.

ladybug_3777’s picture

This patch is a duplicate because you are trying to write a patch against something that needs to be reverted. The original code that caused you to raise this issue shouldn't exist in Workbench Moderation AT ALL.

Issue #2308095: CAUSED this extraneous line but it also added in pathauto logic. BOTH of those things are wrong. If issue 230895 is reverted, your patch no longer applies. Make sense?

Maybe you might also be missing that issue 230895 is an already committed patch. It's not a NEW patch we are trying to apply, its a patch we are discussing REMOVING/REVERTING.

ladybug_3777’s picture

Status: Needs review » Closed (duplicate)
jbylsma’s picture

Yes, it makes sense, but before there was a removal patch over in #2308095: URL alias reverts to Automatic generate alias when published, this wasn't duplicating anything. Nitpicky, I know. With the removal patch posted, I will graciously keep the duplicate status :)

ladybug_3777’s picture

Thumbs up! Thanks jbylsma!