]> source.dussan.org Git - sonarqube.git/commitdiff
fix regression issue in violations drilldown: reload sources when selecting a new...
authorsimonbrandhof <simon.brandhof@gmail.com>
Tue, 4 Jan 2011 09:05:18 +0000 (09:05 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Tue, 4 Jan 2011 09:05:18 +0000 (09:05 +0000)
plugins/sonar-core-gwt/src/main/java/org/sonar/plugins/core/violationsviewer/client/ViolationsViewer.java
tests/integration/tests/src/test/selenium/SONAR-684-encode-violation-messages.html

index 137ad9f37ebf9929db09fe17d069eac6b3daeed9..71f43a8d3151149ce7980bd0a6a33d6ed9eac5dd 100644 (file)
@@ -65,6 +65,8 @@ public class ViolationsViewer extends Page {
     mainPanel.setWidth("100%");
     mainPanel.setStyleName("gwt-Violations");
 
+    sourcePanel = null; // reload sources when selecting a new file
+
     header = new Grid(1, 5);
     header.setWidth("100%");
     header.setStylePrimaryName("gwt-ViewerHeader");
index 583b2473df4d356ab3a1f77e380cee96fc4442b4..12235c74470bfab927203f36ca808e6dfc12efab 100644 (file)
        <td>glob:*Avoid Duplicate Literals*</td>
 </tr>
 <tr>
-       <td>assertText</td>
+       <td>waitForText</td>
        <td>pageselector</td>
        <td>glob:*The String literal &quot;&lt;select&gt;&quot; appears*</td>
 </tr>
-
 </tbody></table>
 </body>
 </html>