Problem/Motivation

TwitterPostTokenManager was added when Rules did not allow to use Twig-style tokens. Now that Rules has allowed this functionality, it's time to update Social Post Twitter

Proposed resolution

Remove TwitterPostTokenManager and any reference to it from the module.

Comments

gvso created an issue. See original summary.

gvso’s picture

Issue summary: View changes
felribeiro’s picture

Status: Active » Needs review
StatusFileSize
new3.06 KB
gvso’s picture

Status: Needs review » Needs work

Thanks for your patch. However, there are many things that should also be removed/changed; for instance, the file TwitterPostTokenManager.php is not deleted. Plus, the description for the Tweet Rule action should be modified.

Those are the main things I have found, but there may be other changes that should be applied.

hardikpandya’s picture

Assigned: Unassigned » hardikpandya
hardikpandya’s picture

Assigned: hardikpandya » Unassigned
Status: Needs work » Needs review
StatusFileSize
new4.52 KB
new6.01 KB
gvso’s picture

Status: Needs review » Needs work
Issue tags: +GCI16
+++ b/src/Plugin/RulesAction/Tweet.php
@@ -94,6 +94,7 @@ class Tweet extends RulesActionBase implements ContainerFactoryPluginInterface {
+    $this->tokenManager = $token_manager;

Because the service was removed, this variable will cause an error

Additionally, we need to change the description in the @RulesAction annotation.

  • gvso committed be4c207 on 8.x-1.x
    Issue #2821856 by hardik.p, felribeiro, gvso: Remove...
gvso’s picture

Issue fixed to realease alpha 1

gvso’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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