Closed (fixed)
Project:
Twitter
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2012 at 18:53 UTC
Updated:
7 Nov 2012 at 12:31 UTC
Jump to comment: Most recent file
!url-alias is not showing path auto alias when creating a node, it shows url.tld/node/123. It only works fine when auto url has been generated previously. ex: saving 2 times the content and posting it to twitter only at second time.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | twitter_post-1457940-set_module_weight_to_10.patch | 672 bytes | xurizaemon |
Comments
Comment #1
Zen commentedThe same applies to !tinyurl as well. It does not use the alias.
-K
P.S. FWIW, an interim solution = http://drupal.org/project/globalredirect
Comment #2
Jorge Navarro commentedTested on latest version, not fixed yet.
Comment #3
Jorge Navarro commentedTested on latest version, not fixed yet.
Comment #4
Leeteq commentedComment #5
xurizaemonThis is due to the default module weights (pathauto=1, twitter_post=0). If you amend twitter_post to have a higher weight than pathauto (and clear your cache) then you should see the URL get set before the tweet is posted.
We can set the module weight of Twitter Post to 10, which is higher than the default for Pathauto.
Note that both this patch and the one for #1816308: Consider removing twitter_shorten_url() ? refer to a new file, twitter_post.install. This patch depends on the one from that issue.
Comment #6
xurizaemonCommitted in 72710a3.