Uploaded image for project: 'Realtime Collaborative Plain WikiText Editor'
  1. Realtime Collaborative Plain WikiText Editor
  2. RTWIKI-30

New documents created via the wiki editor cause a non-breaking error to print to the console when autosaving

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 1.12
    • Labels:
      None
    • Environment:
      web
    • Similar issues:

      Description

      After creating a new document, before saving to an official version, the autosave function attempts to check whether the existing version must be merged with the current state before autosaving. In such cases where there is no such previously saved versions, this results in a 404 from the REST API.

      This error is not handled properly, which results in a reference to an undefined variable which complains on the console, but does not otherwise cause the page to stop functioning.

      Saving via the 'save and continue' button alleviates the problem.

        Attachments

          Activity

            People

            Assignee:
            amacsween Aaron MacSween
            Reporter:
            amacsween Aaron MacSween
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: