[midPoint-git] [Evolveum/midpoint] f90961: Avoid DOM thread (un)safety when parsing schemas

mederly noreply at github.com
Thu Aug 15 13:54:43 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: f90961139d4a9245fad65f3bd5f21937ed7aa84d
      https://github.com/Evolveum/midpoint/commit/f90961139d4a9245fad65f3bd5f21937ed7aa84d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M infra/common/src/main/java/com/evolveum/midpoint/common/refinery/RefinedResourceSchemaImpl.java
    M infra/common/src/test/java/com/evolveum/midpoint/common/refinery/TestRefinedSchema.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/DomToSchemaProcessor.java
    M infra/test-util/src/main/java/com/evolveum/midpoint/test/util/TestUtil.java

  Log Message:
  -----------
  Avoid DOM thread (un)safety when parsing schemas

Xerces DOM is not thread-safe even for read operations. This causes
problems like MID-5648. Although this commit does not provide complex
solution, it is a workaround aimed to ensure at least correct XSD
parsing. More elaborate solution will come later.


  Commit: a8bace574979bff3a084ee9b02586f291b7df0a6
      https://github.com/Evolveum/midpoint/commit/a8bace574979bff3a084ee9b02586f291b7df0a6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/component/PolyStringEditorPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/component/PolyStringEditorPanel.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/CloneUtil.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestMisc.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/cdee8f54e25f...a8bace574979


More information about the midPoint-svn mailing list