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

Document type field value lost after submit DM failed

    Details

      Description

      The issue can't reproduce on master. LPS-56748 and LPS-59582 should solve the issue on master. Due to master has refactor this part, we need to do a fix on ee-6.2.x.

      1. Go to Documents and Media, create one Document type (name:type, add text field).
      2. Add type document, name:document, and save it.
      3. Add type document, name:document, in text field: enter "hello", and save it.
      4. Save failed, the error info "Please enter a unique document name." will display in UI.

      Actual Result: Entered value in the text field gets clear when Validation Message "Please enter a unique document name." occurs.
      Expected Result: This text field in Document type should not lose data when when validation message "Please enter a unique document name." occurs.

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          29 kB
        2. Reproduced.PNG
          Reproduced.PNG
          33 kB

          Issue Links

            Activity

              People

              Assignee:
              harry.chai Harry Chai
              Reporter:
              hai.yu Hai Yu
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 20 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.X EE