Jump to content

Featured Replies

Posted

Hello

we encounter a rather strange behavior with the "Who's online" widget. It usually shows a hovercard for the online members.

this seems to always work when using the english translation.

when switching to the german language pack (from invisionfocus, from the marketplace), the usernames sometimes are not rendered as links and don't show that hovercard:

English as expected:

Could contain: Page, Text

German as expected:

Could contain: Page, Text

Germ, rendered without the links / hovercard:

Could contain: Page, Text

 

Also the html does not contain any links. But weirdly the current user ("wm") is not even in the html list.

Good variant:

Could contain: Page, Text, File, Bird, Animal

 

Weird variant (no hovercard link, current user not in the list but shown in the browser):

Could contain: Page, Text, File, White Board

 

What we tried:

  • deleted the language pack, reinstalled from marketplace. issues shows up again.
  • clearing the system cache usually resolves this issue for some time.
  • we compared all the templates if there are any changes we missed during the upgrades. But we have no changes in the templates that points at this weirdness.
  • disabled the redis cache. issue still shows up.
  • logs contain no errors or indicators whats going on.

 

The template userLinkFromData is unchanged:

Could contain: Page, Text, File

But it's hard to read.

 

It's very strange this only happens in the german language pack. If there is a missing translation that causes this we cannot find it. And sometimes it just works normally.

Has anyone else noticed this? (Invision Community v4.7.4 - but we think this existed before this version too)

Solved by Daniel F

Go to solution
  • Community Expert

Please contact the author of the language pack as there is likely something incorrect causing an issue.

Another guess: you are seeing a cached guest version of the widget, which hides hovercards and links by default. 

The fact that there is a difference in language might be a coincidence. 

 

It's very strange this only happens in the german language pack. If there is a missing translation that causes this we cannot find it. And sometimes it just works normally.

Has anyone else noticed this? (Invision Community v4.7.4 - but we think this existed before this version too)

Confirm this, but it makes no difference what language, and I guess we are using the same german language pack.

  • Community Expert
 

Confirm this, but it makes no difference what language, and I guess we are using the same german language pack.

Could you please confirm you are seeing it on a default unaltered language, and also logged in

 

Could you please confirm you are seeing it on a default unaltered language, and also logged in

Hi Marc, I couldn't reproduce this issue. But I am sure (to 90%) it was on the original language and logged in. But I guess it had something to do with caching.

  • Author
 

Please contact the author of the language pack as there is likely something incorrect causing an issue.

well I can do that, but I would not know what to ask them. They are probably "translation" people. Not debug-random-things-people. I would send myself back to here. If the language file can be imported, nothing can be wrong with it. I try to find a better clue or better question.

It is most probably a cache issue. If I clear all caches the widget is correct. Only after a while it renders that logged out variant - but I'm still logged in (I can see an admin-only forum for example).

Not sure how that can be caused by a language pack - as it works with an empty cache. Maybe the cache mechanism includes some language aspect somehow and doesn't work for non-english? It's just weird. None of the translation keys in that widget seem to be untranslated. But I might have missed one 🤔

  • Community Expert
 

well I can do that, but I would not know what to ask them. They are probably "translation" people. Not debug-random-things-people. I would send myself back to here. If the language file can be imported, nothing can be wrong with it. I try to find a better clue or better question.

It is most probably a cache issue. If I clear all caches the widget is correct. Only after a while it renders that logged out variant - but I'm still logged in (I can see an admin-only forum for example).

Not sure how that can be caused by a language pack - as it works with an empty cache. Maybe the cache mechanism includes some language aspect somehow and doesn't work for non-english? It's just weird. None of the translation keys in that widget seem to be untranslated. But I might have missed one 🤔

Confirming the language pack is compatible with the release you're on is the first step. However, I would say this sounds like a caching issue.

Are you able to reproduce this on an unmodified language pack if you stay on it for long?

 

  • Author

I tried the Italien language pack (randomly, no specific reason, By InvisionITA.it) as well. The issue also shows up in Italien after a while:

Could contain: Page, Text

So it's either some weird config we do on our server or the software just only like english 😄

 

  • Community Expert

I've tagged this to a developer to get their opinion on what may be happening here as so far we have been unable to reproduce this directly with an unmodified language pack.

I’ve seen this problem with several blocks (e.g. recent achievements) and remember forum discussion about this. 

Usually, it doesn’t appear because blocks like those don’t need to differentiate between guests and members. But since privacy is a bigger concern in Germany, German websites will often hide the member profiles from guests. And then there would need to be a difference between the cached guest block and the cached member block. Apparently there is none. So whenever the block caching time is over, the status of the first visitor of the page will decide whether everyone sees the guest version or the member version for the next 5 minutes or so. 

  • Community Expert
  • Solution
 

I’ve seen this problem with several blocks (e.g. recent achievements) and remember forum discussion about this. 

Usually, it doesn’t appear because blocks like those don’t need to differentiate between guests and members. But since privacy is a bigger concern in Germany, German websites will often hide the member profiles from guests. And then there would need to be a difference between the cached guest block and the cached member block. Apparently there is none. So whenever the block caching time is over, the status of the first visitor of the page will decide whether everyone sees the guest version or the member version for the next 5 minutes or so. 

Love the finding! And I can confirm that @ossipetz has them disabled for guests.
We have a bug report for this

  • Author

ahh that sounds good! I'll be patiently waiting for a fix. Is there some reference I can look for in the release notes? 😇

thanks a lot!

  • Community Expert

It would actually depend on what the developer decides to add. We will let you know here once this has been added to a release. 🙂 

 

 

  • 1 month later...
 

Love the finding! And I can confirm that @ossipetz has them disabled for guests.
We have a bug report for this

We have still the same issue. Users can see other users (in members block) even though they have set their status to "hidden".

Is there a fix for that?

  • Community Expert
 

We have still the same issue. Users can see other users (in members block) even though they have set their status to "hidden".

Is there a fix for that?

As mentioned above, there is an open bug report for this currently.

  • 7 months later...
  • Community Expert

This issue was resolved in the recently released 4.7.13 release. Please update in order to fix this issue, and if you see any problem after that point, please let us know.

  • Author
 

This issue was resolved in the recently released 4.7.13 release. Please update in order to fix this issue, and if you see any problem after that point, please let us know.

thanks for the notification! great service 🙂👍

  • Community Expert

No problem at all. Glad things are working for you 🙂 

Recently Browsing 0

  • No registered users viewing this page.