Nodebb: User settings not applied after login on 1.11.0

Created on 30 Nov 2018  路  8Comments  路  Source: NodeBB/NodeBB

  • NodeBB version: 1.11.0
  • NodeBB git hash: 543336070aa47ba3b155d9524d618acbd6eb5fc6
  • Database type: mongo
  • Database version: 3.6.8
  • Exact steps to cause this issue:
  • Login
  • Set language to en-x-pirate (or anything that's not default)
  • Skin skin to Darkly (or anything that's not default)
  • Save settings
  • Logout
  • Hard refresh the forum home page
  • Login

  • What you expected:

Expected all the user settings to be applied: skin should be Darkly and language should be piratge

  • What happened instead:

The forum default is still the displayed until a hard browser refresh is performed.

bug

Most helpful comment

7059 contains potential fix

All 8 comments

Hah, good catch, I did not test that particular flow :smile:

I used pirate as an example. It was actually @Panther2, from Germany, on our forums who found this. He has his language set to German and skin to darkly. I just thought it might be easier to test with pirate. 馃槈

What exactly isn't changed language-wise? It seems the menu and page content reflect the correct language...

app.alertError('[[error:invalid-data]]') also outputs generic error in correct language

I'll have to run through it again. You do see that the skin doesn't change, right?

Yes indeed 馃檪

@julianlam

Indeed my system is a German system, that is why my browser (Chrome, latest stable) shows some forum details in German when not being logged in. As it is an English language forum I have set my user settings to "English".

But:

This is how it looks immediately after my login:
screenshot 2018-12-04 at 12 53 31
Note the German word "Kategorien".

This how it should look after my login, but only does after a hard refresh:
screenshot 2018-12-04 at 12 54 29

It is only by the hard refresh that my skin is applied as well as the preferred lanugage (English).
Now we have "Categories" as expected.

CC: @djensen47

Hi @panther2 @djensen47 -- at this point the skin issue is resolved, although I cannot reproduce the language issue. @pitaj can, but I cannot, though I have not tried changing my system default language yet.

7059 contains potential fix

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jidanni picture jidanni  路  5Comments

aStonedPenguin picture aStonedPenguin  路  4Comments

BenLubar picture BenLubar  路  3Comments

cryptoethic picture cryptoethic  路  4Comments

djensen47 picture djensen47  路  5Comments