Discobot tutorial broken - elipsis and bookmark png images appear to be missing on my site


(Tobias Eigen) #1

I’m not sure when this happened, but I just noticed that the png images referenced in the discobot tutorial’s first message are not showing up on my site. Any ideas?

This is the markdown code:

I can show you some cool features of this forum right now. :sunglasses: Are you ready? :rocket: Let's start by **bookmarking this private message:** just select <img src="/images/font-awesome-ellipsis.png" width="16" height="16"> below and then hit <img src="/images/font-awesome-bookmark.png" width="16" height="16"> .

This is what that message looks like on my site:

Here’s how it should look and how it looks on meta:

Update: and interestingly, the follow-up message has a different location for the elipsis png image and it works! So is this a bug?

Uh oh, I don’t see any bookmarks in this topic. Did you find the bookmark under each post? Use the show more <img src="/plugins/discourse-narrative-bot/images/font-awesome-ellipsis.png" width="16" height="16"> to reveal additional actions if needed.


(Chris Jacob) #2

@tobiaseigen I just installed Discourse and updated to v1.9.0.beta14 +86 and can confirm my site experiences this bug with the image paths being broken in the discobot tutorial.

It’s broken on this site too…

https://meta.discourse.org/images/font-awesome-bookmark.png


(Jeff Atwood) #3

Hmm @tgxworld can you fix? Broken images is bad


(Tobias Eigen) #4

Thanks, @codinghorror!

Can confirm that with latest the bug persists on my site.

Note to self: once it’s fixed I’d also like to do a search and replace broken images to fix discobot messages that have already been sent out and now make little sense to new members. :blush:


(Alan Tan) #6

@tobiaseigen Are new posts being made by discobot broken for you?

Don’t worry about this. This should be done as part of the change in links and I’m writing the job to automatically replace it now.


(Tobias Eigen) #7

Yup. Discobot messages still have two missing images as of my most recent discourse update this morning. See screenshot from message of 4 hours ago, after the update.


(Alan Tan) #8

Did you customize the message?


(Tobias Eigen) #9

not that I’m aware of.


(Alan Tan) #10

en as your default locale? I can’t reproduce invalid image links for new discobot messages on meta.


(Tobias Eigen) #11

Huh. But maybe I did. If I did it was a while ago and I forgot about it. Yes, EN is my default locale.

What was there and has the incorrect URL path:

I can show you some cool features of this forum right now. :sunglasses: Are you ready? :rocket: Let's start by **bookmarking this private message:** just select <img src="/images/font-awesome-ellipsis.png" width="16" height="16"> below  and then hit <img src="/images/font-awesome-bookmark.png" width="16" height="16"> .

Now reverted and now it is like this, which is probably correct.

If you’d like to learn more, select <img src="%{base_uri}/plugins/discourse-narrative-bot/images/font-awesome-ellipsis.png" width="16" height="16"> below  and <img src="%{base_uri}/plugins/discourse-narrative-bot/images/font-awesome-bookmark.png" width="16" height="16"> **bookmark this private message**.  If you do, there may be a :gift: in your future!

(Alan Tan) #12

Yup you’ll need to update the paths for your customized translations.


(Alan Tan) #13

I’ve submitted a PR which adds a onceoff job to fix the old/broken links