Links not appearing since the last theme component update

Well shoot. I updated this component tonight to pick up the latest commit “Switch to new API to render into plugin outlet. (#37)” My one custom link disappeared, and I can’t get it to display again. I’ve uninstalled, reinstalled, restarted to no effect.

(3.2.0.beta2-dev - 76e5a939d4, Default theme)

3 Likes

Update: I deleted the new version, and installed from a zip file of the previous Sept. 7 commit.
Success – that version works, as before.

Interested to hear if anyone else has trouble as of the Oct. 11 commit.

Yes. Thank you for your report, I can repro.

Updating my theme component made my header links disappear as well:


:point_down:

1 Like

The theme component uses a new API introduced 8 days ago, while 76e5a9 is from 2 weeks ago.

That’s why nothing is displayed. The API is not available.
You might want to upgrade Discourse to fix this issue if you can.

Lately, we see similar occurrences :smile:. Having a message in the dashboard to warn about the update would be nice, I think.

3 Likes

Interesting. I will learn from this, but I’m not surprised there are similar occurrences. It’s certainly an easy thing to stumble into.

The Admin Dashboard makes it look like I’m fully current:

(I’m not sure why I’m on a Beta – I simply did the official Docker install.)

If I go to the Upgrade tab, I do see an upgrade available. But it’s for v3.2.0.beta1 …which sounds older than 3.2.0.beta2…? What’s the significance of “-dev”? I can’t find any docs explaining the beta release progression/situation.

In general, should a component really be able to offer an update that isn’t compatible with the installed Discord release? That seems to invite this kind of confusion. I’d have expected behavior like Wordpress plugins, which will clearly indicate that they are holding back until you update your base installation.

2 Likes

As you can read there, you only get notified to update when there is a new milestone. If you were told to update after every commit, that would be several times a day.
When you notice a bug it’s always good to update first to check whether it was already fixed.

I also like Find what version of Discourse you're using as an explanation how you can check your exact version on GitHub. Of coure as an admin you don’t need the html view.

Here is the explanation for -dev

4 Likes

Thanks for the links, @Moin – I’d checked release pages, Github, etc. but didn’t search deep enough here.

This clears up a lot of my questions in theory. But after reading…

“we’re starting the 3.2 development cycle with 3.2.0.beta1-dev . When that’s ready to be released, it will be stamped as 3.2.0.beta1 , and then we’ll followup immediately with another commit to start development of 3.2.0.beta2-dev .”

…I’m still not sure if I should “update” from beta2-dev to beta1.

I may just sit tight until a milestone notification.

2 Likes

Check to see if Discourse/Docker has updates. I had a similar issue earlier this week. Updated a theme-component or 2 and had disolay issues related to thise components.

While no Discourse update showing in Dashboard both Docker snd Discourse had commits.

Once I updated Discourse thr components eork as they should.

It looks like there is a bug with our theme compatibility system. I have reverted my changes for now:

5 Likes