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

Admin section: make user directory pass webstandard tests

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • 3.3.2 Labels or Instructions

    Description

      As of now, we can't add the user-directory section of XWikiPreferences to the webstandard list because it fails:

      Validation errors in /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=userdirectory
      
      ERROR: An input field has been found with no label association.
      
      Extracts of the invalid content:
      
        1	<!DOCTYPE html>
      
      	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 org.xwiki.test.webstandards.CustomDutchWebGuidelinesValidationTest.testDocumentValidity(CustomDutchWebGuidelinesValidationTest.java:52)
      
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      
      	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)
      

      See https://up1.xwikisas.com/#jQj78qT110IZl-609WsJPA

      Attachments

        Issue Links

          Activity

            People

              Lucas C Charpentier Lucas
              Lucas C Charpentier Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: