Details

    Description

      Steps to Reproduce:

      1. Login with TestTest
      2. Run the following curl command(update the parentResourceClassNameId with your actual vaule):
        curl http://localhost:8080/api/jsonws/kb.kbarticle/add-kb-article \
          -u [email protected]:test \
          -d externalReferenceCode='' \
          -d portletId='0' \
          -d parentResourceClassNameId=33503 \
          -d parentResourcePrimKey=0 \
          -d title='test2' \
          -d urlTitle='' \
          -d content='%3Cp%3EKnowledge%20Base%20Article%20Content%3C/p%3E' \
          -d description='' \
          -d sourceURL='' \
          -d sections= \
          -d selectedFileNames=
        

      Expected Results:
      Can add a KB article.

       Actual Result:
      Can not add a KB article, error throws:

      2021-11-08 03:43:34.441 ERROR [http-nio-8080-exec-4][JSONWebServiceServiceAction:126] Could not initialize class org.owasp.validator.html.scan.AntiSamySAXScanner
      

      NOTE: Only occurs when no knowledge base article has been added through the portal.

      Attachments

        Issue Links

          Activity

            People

              yvonne.han Yvonne Han
              yvonne.han Yvonne Han
              Marta Elicegui Marta Elicegui
              Arthur Chen Arthur Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 4 weeks ago

                Packages

                  Version Package
                  7.0.X
                  7.1.X
                  7.2.X
                  7.3.X
                  7.4.3.5 CE GA5
                  7.4.13 DXP U1
                  Master