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

It's possible to save a Document Type without any field after deleting Metadata set

    Details

    • Fix Priority:
      2

      Description

      Description

      After removing a Metadata set of a Document Type, if the user clicks two times on the Save button, the message "*Success:*Your request completed successfully." is displayed as if the Document Type was saved.

      Steps to Reproduce

      1. Content & Data > Documents and Media
      2. Metadata Sets > Create a New Metadata Sets >
      3. Documents Types > Create a New Document Type > Go to Additional Metadata Fields > Add the Metadata Field > Save Document and back to Document > Remove the Metadata Field and try Save again, at the first click it will show the correct error, but if you click again it will pass.
      4. See that every time the Metadata Field is excluded it's come back when the user click on Save twice. (bug)

      Expected Result
      Metadata Fields must keeping excluded

      Actual Result
      Metadata Fields returns after it was excluded (ActualResult_Feb16_LPS-127981.mp4)

      Reproduced In
      master: f58b75d4a0e365ac8ea0305a2e6e3287a646f85a

        Attachments

          Activity

            People

            Assignee:
            emanuel.silva Emanuel Silva
            Reporter:
            oziel.souza Oziel Souza
            Participants of an Issue:
            Recent user:
            Emanuel Silva
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              33 weeks, 2 days ago

                Packages

                Version Package