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

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              yvonne.han Yvonne Han
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Arthur Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks, 3 days ago

                  Packages

                  Version Package
                  7.4.3.5 CE GA5
                  7.4.13 DXP U1
                  Master