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

Repeatable HTML field clears itself if it is nested within another field type and that field type is what is moved.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.1.X, 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Dynamic Data Mapping
    • Labels:

      Description

      Steps to Reproduce

      1. Set up your Liferay environment to use CKEditor in all areas of Liferay (only web content is needed, but this will happen in any repeatable HTML field in Liferay):
        editor.wysiwyg.default=ckeditor 
        editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.portlet.announcements.edit_entry.jsp=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit.jsp=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit_message.jsp=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.bb_code.jsp=alloyeditor_bbcode 
        editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jsp=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.taglib.ui.discussion.jsp=ckeditor 
        editor.wysiwyg.portal-web.docroot.html.taglib.ui.email_notification_settings.jsp=ckeditor
      1. Go to Product Menu > Liferay DXP (Site) > Web Content
      2. In Web Content, click on the Structures tab, then create a new structure
        • Add a separator field
        • Add an HTML field, nest it in that separator field.
        • Click the separator field, access its properties, and set "Repeatable" to "Yes".
      3. Save the structure
      4. Create a new web content article based on that structure
      5. Click the + button next to the separator field
      6. In the top HTML field, add content: "Example A"
      7. In the bottom HTML field, add content: "Example B"
      8. Drag and drop the bottom separator field.

      Expected Behavior: 

      HTML field remains filled.

      Actual Behavior:

      HTML field is now empty.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lianne.louie Lianne Louie
                Reporter:
                lianne.louie Lianne Louie
                Participants of an Issue:
                Recent user:
                Lianne Louie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package