Is there a bug affecting links in PMs on PF?

  • Thread starter DaveC426913
  • Start date
In summary, there is a bug affecting links in PMs that leads to incorrect text being added from a different post. This bug also occurs in threads and is not limited to this particular thread. It could be linked to deleted posts. The issue is not a bug, but a limitation of the link unfurler which uses the meta description from the first post of a page. To fix unfurl issues, users can edit their post and set unfurl="true" to unfurl="false" in the URL bbcode. It was also discovered that ad-blockers can cause display issues on PF.
  • #1
DaveC426913
Gold Member
22,480
6,146
I've come across a bug that affects links in PMs. I don't know how wide-spread it is.

I PM'd a member, and in my PM, I included a link to a PF post (all I did was paste the URL, PF formatted it as per below).

The link itself (which goes to Lame Jokes post #6046) is correct. In the first screenshot, you can see the URL in the bottom task bar (green arrow). The second screenshot shows that one is taken to the correct post.

But look at the text that PF added when it formatted my link (red arrow). That is not the text from post #6046; it is the text from a completely unrelated post: #6024 (no idea why that one, not the same author, not even the same page).

This caused some confusion in our conversation, because the recipient saw the auto-included text and assumed I was talking about post 6024, when in fact I was talking about post 6046.

1564982280451.png
(Following the link goes to the correct post#):
1564982485265.png
 
Physics news on Phys.org
  • #2
I can reproduce the bug but I have no idea where it comes from, probably deep in the forum software. Three posts from the last page (242) both lead to this post on page 241. A post on page 240 leads to another (but also wrong) post from page 239. Posts from page 1 show the very first post of the thread. It is not limited to PMs, it also happens in threads, both in the preview and the final post. It happens with both link formats ("/post-6215528" and "/page-242#post-6215643"). It is not limited to this thread, I found the same issue in another thread but with a different offset.
Could be linked to deleted posts messing up the counts?

This bug doesn't matter if you format links, of course.

Examples:

https://www.physicsforums.com/threads/collection-of-lame-jokes.25301/page-242#post-6215643
https://www.physicsforums.com/threads/collection-of-lame-jokes.25301/post-6215528
https://www.physicsforums.com/threads/collection-of-lame-jokes.25301/post-6213813
https://www.physicsforums.com/threads/collection-of-lame-jokes.25301/post-6208682
https://www.physicsforums.com/threads/collection-of-lame-jokes.25301/post-209141
Other thread:
https://www.physicsforums.com/threads/pf5-problems-and-errors.968696/post-6211483
 
  • #3
So this isn't a bug, just how the link unfurler works. When you link to a post, it doesn't have it's own meta data as it isn't a unique page on it's own. A page can consist of many posts of course. The unfurler just checks the first 100 lines of a webpage for the meta description and uses that. The meta description is built from the data from the first post of a page. So this isn't a bug, but rather an understandable limitation when linking to a specific post.

If you see an unfurl issue, edit the post, go to bbcode mode and set unfurl="true" to unfurl="false" in the URL bbcode.
 
  • #4
Greg Bernhardt said:
If you see an unfurl issue, edit the post, go to bbcode mode and set unfurl="true" to unfurl="false" in the URL bbcode.
TIL: what 'unfurl=true/false' does.
 
  • #6
Oh !

I think I found "the bug". . .Look at post #360 by fresh_42. . . because of my ad-blocker, I see something

different than most of you probably see.

What I see is. . .

1565070837833.png
I made the next post, which included the post by fresh_42 as a quote.

This is what I see. . .

1565071846586.png
See that bug?!I'll bet it slipped in through Facebook, somehow. . . .
naughty.gif


.
 
  • #7
OCR said:
See that bug?!
That is your ad-blocker. Nothing to do with PF. Try white listing facebook in your ad blocker.
 

1. What is the bug affecting links in PMs on PF?

The bug affecting links in PMs on PF is a technical issue that is causing links to not work properly when sent through private messages on the platform.

2. How can I tell if I am experiencing the bug?

If you are unable to click on links in PMs or if the links are not redirecting you to the intended page, then you may be experiencing the bug affecting links in PMs on PF.

3. Is there a fix for the bug?

The development team is aware of the bug and is working on a fix. In the meantime, you can try copying and pasting the link into your browser to access the content.

4. Can I prevent the bug from happening?

Unfortunately, there is no known way to prevent the bug from occurring. However, clearing your browser's cache and cookies may help in some cases.

5. When can we expect a resolution for the bug?

The development team is actively working on a fix and it is expected to be resolved in the near future. Thank you for your patience and understanding.

Similar threads

  • Feedback and Announcements
Replies
1
Views
381
  • Feedback and Announcements
Replies
1
Views
899
  • Feedback and Announcements
Replies
13
Views
1K
  • Feedback and Announcements
Replies
8
Views
2K
  • Feedback and Announcements
Replies
5
Views
2K
Replies
6
Views
2K
  • Feedback and Announcements
6
Replies
183
Views
76K
  • Computing and Technology
Replies
2
Views
1K
  • Sticky
  • Science and Math Textbooks
Replies
27
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
263
Back
Top