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

Error messages are not user-friendly when creating an Object and a Field

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Objects
    • Fix Priority:
      4

      Description

      Summary:
      Error messages are not user-friendly when creating an Object and a Field

      Steps to Reproduce:

      1. Check error messages when creating an Object and a Field

      Expected Result:

      Creating an Object:

      • Label is empty
      • Plural┬áLabel is empty
      • Object Name is empty
      • The first character of an Object Name must be an upper case letter
      • Object Name must only contain letters and digits
      • Object Name already exists

      Creating/Updating a Field:

      • Label is empty
      • Field Name is empty
      • The first character of a Field Name must be a lower case letter
      • Field Name must only contain letters and digits
      • Type is empty
      • Field Name already exists

      Actual Result:

      Creating an Object:

      • Label is null for locale English (United States)
      • Plural┬áLabel is null for locale English (United States)
      • Name is null
      • The first character of a name must be an upper case letter
      • Name must only contain letters and digits
      • Duplicate name C_CustomObject

      Creating/Updating a Field:

      • Label is null for locale English (United States)
      • Name is null
      • The first character of a name must be a lower case letter
      • Name must only contain letters and digits
      • Unable to map JSON path: type
      • Duplicate name fieldName

      Verified on master: 35855e821e79b9ca7478083359acbcd0cd5b8aba

        Attachments

        1. ActualResult_Sep14-1.png
          ActualResult_Sep14-1.png
          30 kB
        2. ActualResult_Sep14-2.png
          ActualResult_Sep14-2.png
          30 kB
        3. ActualResult_Sep14-3.png
          ActualResult_Sep14-3.png
          26 kB
        4. ActualResult_Sep14-4.png
          ActualResult_Sep14-4.png
          30 kB
        5. ActualResult_Sep14-5.png
          ActualResult_Sep14-5.png
          31 kB
        6. ActualResult_Sep14-6.png
          ActualResult_Sep14-6.png
          30 kB
        7. ActualResult_Sep14-7.png
          ActualResult_Sep14-7.png
          26 kB
        8. ActualResult_Sep14-8.png
          ActualResult_Sep14-8.png
          30 kB
        9. ActualResult_Sep14-9.png
          ActualResult_Sep14-9.png
          31 kB
        10. ActualResult_Sep15.png
          ActualResult_Sep15.png
          35 kB
        11. ActualResult_Sep15-2.png
          ActualResult_Sep15-2.png
          29 kB

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              rodrigo.cunha Rodrigo Cunha
              Participants of an Issue:
              Recent user:
              Matheus Almeida
              Engineering Assignee:
              Matheus Almeida
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                4 weeks ago

                  Packages

                  Version Package