Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21409

The security scan error box on the notification pan is not conforming to webstandard

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Error Message

      Validation errors in xwiki:Main.SolrSpaceFacet()
      ERROR: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) at line [236] column [30]
      
      
      Extracts of the invalid content:
      
        234 </button>
        235 <ul class="dropdown-menu">
        236 <div class="box errormessage"><p>We have identified 1 extensions with known security vulnerabilities, see the detail in the <a href="/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=XWiki.Extension.Security.Code.Admin">Security Vulnerabilities</a> report</p></div>
        237   <li class="divider" role="separator"></li>
        238  <li class="notification-uix loading"></li>
      

      Stacktrace

      junit.framework.AssertionFailedError: 
      Validation errors in xwiki:Main.SolrSpaceFacet()
      ERROR: Element “div” not allowed as child of element “ul” in this context. (Suppressing further errors from this subtree.) at line [236] column [30]
      
      Extracts of the invalid content:
      
        234	</button>
        235	<ul class="dropdown-menu">
        236	<div class="box errormessage"><p>We have identified 1 extensions with known security vulnerabilities, see the detail in the <a href="/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&amp;section=XWiki.Extension.Security.Code.Admin">Security Vulnerabilities</a> report</p></div>
        237	  <li class="divider" role="separator"></li>
        238	 <li class="notification-uix loading"></li>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.TestCase.fail(TestCase.java:223)
      	at org.xwiki.test.webstandards.framework.DefaultValidationTest.testDocumentValidity(DefaultValidationTest.java:223)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at junit.framework.TestCase.runTest(TestCase.java:177)
      	at junit.framework.TestCase.runBare(TestCase.java:142)
      	at junit.framework.TestResult$1.protect(TestResult.java:122)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.framework.TestResult.run(TestResult.java:125)
      	at junit.framework.TestCase.run(TestCase.java:130)
      	at junit.framework.TestSuite.runTest(TestSuite.java:241)
      	at junit.framework.TestSuite.run(TestSuite.java:236)
      	at junit.framework.TestSuite.runTest(TestSuite.java:241)
      	at junit.framework.TestSuite.run(TestSuite.java:236)
      	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
      	at junit.framework.TestResult.runProtected(TestResult.java:142)
      	at junit.extensions.TestSetup.run(TestSetup.java:27)
      

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: