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

Web Content creation action is still sent to the server when required general fields are empty

    Details

      Description

      1. Go to Control Panel > Web Content
      2. Add > Basic Web Content
      3. Leave the Title field empty and publish the web content

      Even though the WC will not be created, the request will be sent to the server upon publishing, instead of avoiding the publication on the client side, because the Javascript based form validator is not used. The right behavior can be inspected e.g. on the user creation page, or on trunk where this is already fixed for web contents also.

      The solution is to "backport" the changes of commit https://github.com/liferay/liferay-portal/commit/3647577b2b58d30b9e0cc1d46e7a70282c4e0415 from trunk, which is part of LPS-30963 but is a standalone fix for this issue (the entire LPS-30963 is a big new feature which should not be entirely backported for a specific bugfix).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              gergely.mathe Gergely Mathe (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 32 weeks ago

                  Packages

                  Version Package
                  6.1.30 EE GA3