SonarQube + Firefox localization

空扰寡人 提交于 2020-01-25 18:29:44

问题


I am having a localization problem when loading SonarQube 5.1.1 on Firefox.
The same problem does not happen on Google Chrome.
It does not happen only on my machine.

Even when I try to load the Sonar online demo, the same problem happen:
http://nemo.sonarqube.org/

Wrong on Firefox

Right on Google Chrome

How can I fix that?

Thanks!


回答1:


Same here: SonarQube - No translations: NS_ERROR_DOM_QUOTA_REACHED

The cause of the problem is the localstorage.

  1. Open JavaScript console (F12 -> Console)
  2. Type localStorage.clear(); -> Enter
  3. Reload (F5)
  4. In the console you can see NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

The localstorage max quota in firefox is based on the main domain (for nemo.sonarqube.org-> sonarqube.org). But I have no idea why your localStorage for this domain should reach the limit. Maybe some other bug or the localStorage.clear(); in the JavaScript console solves your issue...?

It's definitly a bug in SonaQube. They have to check the size limits of localStorage or use another caching mechanism.
Unfortunately I have not found where I can report the problem.


Edit: Now there is a JIRA ticket: https://groups.google.com/forum/#!topic/sonarqube/JPzsLhtuziQ - https://jira.sonarsource.com/browse/SONAR-7105



来源:https://stackoverflow.com/questions/31299247/sonarqube-firefox-localization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!