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

Fragments editable text is not always saving the last update from the user

    Details

      Description

      Summary:
      Fragments editable text is not always saving the last update from the user.
      Randomly if you close edit mode you can see the values are not similar with the ones you last change.

      Steps to reproduce:
      1. Go to Control Panel -> Build -> Page fragments -> Add Collection -> Add new fragment with the following content:

      <div class="fragment_33972">
       <lfr-editable id="unique-id" type="rich-text">
       This is editable text that I can make bold or italic! 
       </lfr-editable>
       </div>

      2. Go to Control Panel -> Build -> Pages -> Add new Content page 

      3. Open the new added Content Page, open edit mode and add multiple fragments created at step 1 

      4. Start to edit the text and add changes "This is editable text that I can make bold or italic! edit 1" 

      5. Close edit mode confirm your change is saved

      6. Go back to edit mode copy your edited text "This is editable text that I can make bold or italic! edit 1" 

      7. Edit again the text by removing last part to "This is editable text that I can make bold or italic!"

      8. Now copy and paste the previously copied text "This is editable text that I can make bold or italic! edit 1" 

      9. Exit edit mode and confirm your changes. Random you will see the value from step 7. and not the latest one from step 8. 

      Note: Sometimes the same behaviour happens if you type fast and exit immediately the edit mode to save your changes. Check the attached video for more details. 

       

      Expected behaviour: Fragments editable text always gets the latest updates from the user
      Actual behaviour: Fragments editable text not always gets the latest updates from the user

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            georgel.pop Georgel Vasile Pop
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              35 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP18
                7.1.10.5 SP5
                7.1.X