Skip to content

Conversation

@rmuit
Copy link
Contributor

@rmuit rmuit commented Nov 6, 2023

This is convenient for cleanup commands on websites with the content_lock module enabled.

(
It's especially inconvenient that if content is still locked when this command runs, content_lock_entity_predelete() does not warn or log any message; instead it does a hard redirect -which outputs a HTML response to STDOUT- and exit(0). This confusing behavior can be an extra incentive for people to just not clean up after tests. (https://www.drupal.org/project/content_lock/issues/2951652)

But that's a side note; this drush command should probably unlock and remove the content anyway, regardless whether that issue gets fixed.
)

@fago
Copy link
Contributor

fago commented Nov 14, 2023

Makes sense to me.

@fago fago closed this Nov 14, 2023
@fago fago reopened this Nov 14, 2023
@petarbasic
Copy link
Contributor

Good improvement.

@petarbasic petarbasic merged commit 7393f7f into 1.x Nov 14, 2023
@petarbasic petarbasic deleted the feature/LDP-2307 branch November 14, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants