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

Liferay Forms autosave feature always activates on an interval, even if disabled

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.2.0 GA1, 7.2.10 DXP GA1, 7.2.10 DXP FP1
    • Fix Version/s: Master
    • Component/s: Forms
    • Labels:
      None

      Description

      Steps to Reproduce

      1. Start Liferay 7.2 in the debugger

      2. Login as an Administrator

      3. Create a form via the Control Panel

      4. While in the Control Panel, follow the developer documentation instructions for disabling auto-save.

      5. Add the forms portlet to a portal page

      6. Select the form created in step 3

      7. Reload the page

      8. Using the browser's developer tools, open the Network tab in order to monitor requests from the browser to the server.

      9. [OPTIONAL] If Liferay 7.2 is running in the debugger, set a breakpoint in AddFormInstanceRecordMVCResourceCommand.doServeResource(ResourceRequest,ResourceResponse).

      Expected Results

      After a minute or two, there are no requests displayed in the Network tab and the breakpoint from step #9 is never reached.

      Actual Results

      After a minute or two, an XHR is displayed in the Network tab and the breakpoint from step #9 is reached.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 weeks, 6 days ago

                Packages

                Version Package
                Master