Closed (duplicate)
Project:
ShareThis
Version:
8.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2016 at 12:33 UTC
Updated:
12 Jun 2020 at 03:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bletch commentedComment #3
naveenvalechaComment #4
naveenvalechaChecking what test bot feels with changes
Comment #6
naveenvalechawe have remove the toUrl method and now relied on the \Drupal::request to provide the current request uri
Could you re test the 8.x-2.x
Comment #7
navneet0693 commentedNot able to produce this issue. Attaching screenshot.
ShareThis: 8.x-2.x-dev
Drupal : 8.1.1
Comment #8
lokeshsn22 commentedGot the same issue as mentioned above. @naveenvalecha , can you please update the share this module with the patch. I just removed toUrl method and update with the \Drupal::request to provide the current request Uri . It worked.
Thanks,
Lokesh.S
Comment #9
naveenvalechaComment #10
lokeshsn22 commentedComment #11
Sonal.Sangale commentedComment #12
Sonal.Sangale commentedAdding patch according to suggestion #8.
Please review.
Comment #13
gg24 commentedThis patch brings back the expected services. Patch works as intended.
Comment #14
navneet0693 commentedI think we don't need this comment in module file. We can retain with previous comment.
Comment #15
gg24 commentedComment #16
gg24 commentedComment #17
navneet0693 commented@naveenvalecha your call now ;)
Comment #18
benjifisherI think this is a duplicate of #2767165: Node Preview functionality break before node save (although this issue was created first). Both issues are marked RTBC. I like the patch on that issue better, but I am not sure enough to close this one as a duplicate.
Comment #19
leon kessler commentedAgree with @benjifisher, patch on the other issue is better. Patch #16 will break if the current page isn't that of the node (e.g. you are viewing the node teaser). I think probably one should be marked as a duplicate.
Comment #20
greg boggs