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

Form tag disappears in WCM when editing source

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0 DXP GA1, 7.0.0 DXP FP12, 7.0.0 DXP SP2, 7.0.X EE, Master
    • Fix Version/s: None
    • Labels:
    • Fix Priority:
      3

      Description

      Description

      After adding custom source to a Web Content Article that includes form tags, the opening and closing form tags disappear when editing the source.

      Steps to reproduce

      1) Start the server.
      2) Add a web content display to the page
      3) Add a new web content article with the following code

      <form action="/">
        First name:<br>
        <input type="text" name="firstname" value="Test"><br>
        Last name:<br>
        <input type="text" name="lastname" value="Test"><br><br>
        <input type="submit" value="Submit">
      </form>
      

      4) Publish the article
      5) Edit the article and check the source

      Results of Testing

      Expected Result: The same code should be present that you pasted in before.
      Actual Results: The opening and closing form tags are missing

      Master

      1c9414674fa2b30b4dfde08aabf5094d85372905
      Cannot test. "Web Content is temporarily unavailable" is displayed at step 3.

      ee-70x

      8ad28d14c7d2f5a79425fcbb320ba4658f377f8a
      Reproduced in branch.

        Attachments

        1. Failed.PNG
          Failed.PNG
          12 kB
        2. Failed70.PNG
          Failed70.PNG
          11 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 38 weeks, 3 days ago

                  Packages

                  Version Package