Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-15911

Cannot tell result of Form save attempt - disallows autosave

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.4, 2.6.0
    • Fix Version/s: 2.6.1, 2.7.0, 2.8.0
    • Component/s: Metaobj
    • Labels:
      None

      Description

      Because of the way the metaobj form edit helper is set up, it is impossible to tell whether a given save request is successful synchronously. This poses problems for autosave implementations. There are multiple ways that the request can fail in an unrecoverable way. If saves are discarded upon Save or Cancel click, the original and autosave can be lost if the request fails. What is needed is a way to capture the following conditions:

      • Successful save
      • Save attempt with errors, resulting in redrawn form
      • Failed attempt (stack trace, session timeout, other)

      Knowing which of these was the result of the save attempt allows behavior of prompting to restore only in the failure case.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    noahbotimer Noah Botimer
                    Reporter:
                    noahbotimer Noah Botimer
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration