Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-1779

Missing 'Required' items are not highlighted in the error when missed

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.2.6
    • Fix Version/s: 2.2.7
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      2.2.2E, Tomcat, MySQL, Windows
    • Bug Priority:
      Category 2
    • ACT Numbers:

      6982

    • Testcase ID:
      Hide

      WCM-943

      Show
      WCM-943

      Description

      Happens in 2.2.2 & 3.0.1

      When a required field is left out in creating a content using a web form, it gives the following error -

      Please provide values for all required fields

      • Please provide a valid value for 'Body'. 'Body' is a required 'String' value.

      and the 'Body' field is marked in red color.

      However, on subsequent misses, only a generic error 'Please provide values for all required fields' error is given without the name of the required field being speciifed.

      Here are steps to reproduce this -

      • Added the ootb company footer webform (available in alfresco install dir/extras/wcm/forms path) to the webproject
      • Created content using this form
      • Name & body both are required fields. Clicked 'next' without filling out the required 'name' field
      • Got the following message -

      Please provide values for all required fields

      • Please provide a valid value for 'Name'. 'Name' is a required 'String' value.

      and the 'Name' field is marked in red color.

      • Now, enter name and remove values from body and click next. It shows a generic 'Please provide values for all required fields' error

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                vijih Viji Hariharan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel