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

Coloring inconsistency of required fields of a web content structure

    Details

      Description

      Description

      You have a web content structure where you have a required field which is a child element of another required (?image?) field.

      Reproduction

      1. Add structure (attachment provided).
      2. Add web content by this structure.
      3. Add image (this field is required) on image field.
      4. Escape the Title field which is inside the image.
      5. Try to Publish

      Notes

      You would like to add a web content with this structure and you add something to the parent element but you leave the required field out.
      After submitting your content the portal lets you know that the required field is empty but it stays green.

      The result always depends on root field status if every fields are required.

      ee-6.2.x

      If root field is filled (green) then every children fields will be green despite they are not filled.

      Master

      If root field is not filled (red) then every children fields will be red despite they are filled.

      please see attached screens

        Attachments

        1. form-validator.gif
          form-validator.gif
          4.83 MB
        2. LPS-54946-before-fixing.gif
          LPS-54946-before-fixing.gif
          1.76 MB
        3. LPS-54946-ee62x.png
          LPS-54946-ee62x.png
          72 kB
        4. LPS-54946-master.png
          LPS-54946-master.png
          63 kB

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 30 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M5