冻结的“仍在工作......"遍历质量配置文件中的规则和某些规则中的无名规则集时的消息 [英] Frozen "Still Working..." message when traversing rules in quality profile AND nameless rulesets in some rules

查看:9
本文介绍了冻结的“仍在工作......"遍历质量配置文件中的规则和某些规则中的无名规则集时的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 SQ 5.3 的新实例.我从另一个 SQ 5.3 实例(从 SQ 5.1.2 迁移)导入了几个 Java 质量配置文件.

I have a new instance of SQ 5.3. I imported couple of Java quality profiles from another SQ 5.3 instance (migrated from SQ 5.1.2).

然后,当我打开任何 Java 质量配置文件时,我可以看到属于它的所有规则.但是当我点击一个规则来查看它的定义时,我会看到消息Still Working...",它根本不会消失,即使经过很长时间!

Then, when I open any Java quality profile I can see all rules belonging to it. But when I click at a rule to see its definition then I see the message "Still Working..." which doesn't disappear at all, even after a long time!

更有趣的是:当我单击滚动"按钮进入下一个规则的定义时,对于某些规则,定义会出现,而消息Still Working..."仍在显示.

What's more interesting: when I click at the 'scroll' button to get to the definition of the next rule then, for some rules, the definition appears while the message "Still Working..." is still being shown.

还有一件事:在显示定义的规则的情况下,我看到该规则属于例如2 个规则集:声纳方式"和规则集没有名称!然后,当我尝试从无名规则集中删除规则时,我收到错误消息未找到质量配置文件:java-sonar-way-28885"!即使 SonarQube 上的现有规则集中没有 28885 的规则集.

One more thing: in case of a rule which definition is show I see that the rule belongs to e.g. 2 rulesets: 'Sonar way' and to a ruleset without name! When I then try to remove the rule from the nameless ruleset I get the error message "Quality profile not found: java-sonar-way-28885"! Even if there is no ruleset with 28885 in the existing rulesets on SonarQube.

更新:我也观察到所有其他语言的规则中存在无名规则集的问题,例如Web 或 XML,即使我没有更改任何内容!

Update: I observe the problem with nameless rulesets in rules for all other languages, as well, e.g. Web or XML, even if I haven't changed there anything!

是什么导致了所描述的错误?如何修复它们?

What caused the described errors? How can they be fixed?

提前致谢.

推荐答案

问题解决了!

之后:

  1. 停止 SQ,
  2. 删除文件夹/data/es"(包含 Elastic Search 数据),
  3. 开始 SQ

一切都恢复正常了!

不过,问题仍然存在:是什么导致了问题?从文件中恢复质量配置文件?

Nevertheless, the question stays: what caused the problem? Restoring quality profiles from files?

这篇关于冻结的“仍在工作......"遍历质量配置文件中的规则和某些规则中的无名规则集时的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆