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

After deleting and adding another field on a Document Type, the data does not persist on the renderer

    Details

      Description

      Description
      When user removes a field from the Document Type (which is already used on a Upload), and add a new field, then go to the Upload and inputs data on this new field, the data doesn't persists after saving and editing again. 
      Please see attached video.

      Steps to Reproduce

      1. Go to Content & Data > Documents and Media > Document Type;
      2. Create a Document Type with one Field and save;
      3. Go to Document and Media;
      4. Create a Document and Media based on the Document Type;
      5. Fill the field;
      6. Publish it;
      7. Edit the Document and Media to see if the data persists;
      8. Publish it and go back to the Document Type;
      9. Go to edit the Document Type;
      10. Delete the field and put it back on the builder;
      11. Save it and go back to the Documents and Media;
      12. Edit the Document and Media and fill the field;
      13. Publish it and enter it again.

      Expected Result
      The data should persist after you delete a field and pull back again.

      Actual Result
      Could not fill the field. The data are lost.

      Reproduced In
      master: aea6bc95c9821958a32ea10fa16437a428bbb921

        Attachments

          Activity

            People

            Assignee:
            marcela.cunha Marcela Cunha
            Reporter:
            guilherme.vilarim Guilherme Vilarim
            Participants of an Issue:
            Recent user:
            Guilherme Vilarim
            Engineering Assignee:
            Marcela Cunha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 week, 1 day ago

                Packages

                Version Package
                Master