Uploaded image for project: 'DAM Focal'
  1. DAM Focal
  2. RESPDAM-46

Exclude xalan dependencies for smiley support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 2.1
    • 2.0.6
    • None
    • None

    Description

      Steps to reproduce

      1. Just start a vanilla Magnolia with the magnolia-dam-focal module installed
      2.  Create a basic page
      3. Insert the emoji 🌱  into the abstract field of the page dialog
      4. Open JCR app
      5. Export the page as XML

      Expected results

      Expected would be the Decimal HTML Entity code of the seeding emoji → & #127793;

      Actual results

      You get this code: & #55356;& #57137;

      If you try to reimport the page or publish the page, an invalid character exception is thrown.

      Workaround

      With the exclusion of the xalan dependencie the problem seems to be gone. Maybe we have to verify that no other feature of the dam focal module is affected with this exclusion:

      <!-- DAM-Focal -->
      <dependency>
        <groupId>info.magnolia.dam</groupId>
        <artifactId>magnolia-dam-focal-area</artifactId>
        <exclusions>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>info.magnolia.dam</groupId>
        <artifactId>magnolia-dam-focal-point</artifactId>
        <exclusions>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      <dependency>
        <groupId>info.magnolia.dam</groupId>
        <artifactId>magnolia-dam-focal-hotspot</artifactId>
        <exclusions>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
        </exclusions>
      </dependency>
      

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rfalvo Raphael Falvo
                tobias.kerschbaum Tobias Kerschbaum
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Jenkins

                      No builds found.