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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.4
    • 3.3
    • Syntax Highlighting
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: