Loading...
 
Skip to main content

Ajax Error When Switching Between WYSIWYG and Syntax Editors

Status
Pending
Subject
Ajax Error When Switching Between WYSIWYG and Syntax Editors
Version
16.x
Category
  • Error
Feature
Edit interface (UI)
WYSIWYG (What You See is What You Get)
Resolution status
Please retest
Submitted by
John Morris
Lastmod by
John Morris, Jonny Bradley
Rating
(0)
Description

When switching between wysiwyg and syntax, or visa versa, an "ajax error" is triggered. I have seen this error since tiki14, it is random, and happens so often, I have not seen the error in a long time since I was using tiki15x, but after installing a fresh instance of tiki16x, the "ajax error" is back. Please see screen shot:
Image


After configuring the show instance closely to my own tiki instance, and after installing text on the home page, I was able to recreate the "ajax error" when switching between wysiwyg and syntax.

Solution

There were two fixes for this one, initially r63321 which makes the ajax error thing (only slightly) less annoying, but at least gives a bit of feedback when an error occurs, and puts the wiki markup into the editor so at least you can rescue something.
Part two was r63322 which fixed a bug in the img plugin metadata handling as some html was falling out of the json data being returned and upsetting jQuery's ajax handling.
HTH

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6392
Created
Wednesday 12 July, 2017 04:39:20 UTC
by John Morris
LastModif
Saturday 22 July, 2017 16:58:23 UTC


Show PHP error messages