Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-40

Editor not saving the correct content but only after the second save

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Component/s: Syntax Highlighting
    • Labels:
      None
    • Similar issues:

      Description

      I just upgraded to 3.3 of Syntax highlighting and I have a bad bug.
      Using "save and continue", I need to save twice for my code to be taken into account. If I only save once I don't have my changes.

      After discussing with Edy, he thinks it's an order issue or race condition on JS Events.. with the event updating the content of the textarea AFTER the code running the save. So the old content is saved. But if you save again the textarea has still been updated so the right content is saved this time.

      This is a critical bug for Syntax Highlighting module

        Attachments

          Activity

            People

            • Assignee:
              Yann Flory Yann Flory
              Reporter:
              ludovic Ludovic Dubost
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: