Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-76619

Fragment with doctype declared cannot be added successfully

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.1.0 M1, 7.1.X, Master
    • Component/s: WCM
    • Labels:
      None

      Description

      Steps to reproduce issue:

      1. Navigate to Site Administration > Content > Fragments
      2. Add a collection
      3. Navigate into the collection
      4. Add a fragment
        • Populate the HTML field with the following:
          <!DOCTYPE html>
          <div>
              <span>This is some text.</span>
          </div>
          
      5. Save the fragment

      Expected result: Fragment is saved successfully
      Actual result: Error alert message displays; the fragment is created, but all fields are empty.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7
      Portal master GIT ID: ae2014bf020d5042231e0ea754f3fb5914a5130b

      Not reproducible on:
      Tomcat 8.0.32 + MySQL 5.7
      Portal master GIT ID: b840ed4145e86b9364ad0283e079ebbf7dd45c0a

        Attachments

          Activity

            People

            • Assignee:
              anthony.chu Anthony Chu
              Reporter:
              anthony.chu Anthony Chu
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 47 weeks ago

                Packages

                Version Package
                7.1.0 M1
                7.1.X
                Master