Loading...
 
Skip to main content

When edited with the wikiplugin_editor, plugin invocations with no arguments get garbage arguments

Status
Closed
Subject
When edited with the wikiplugin_editor, plugin invocations with no arguments get garbage arguments
Version
3.x
Category
  • Consistency
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Invalid
Submitted by
mrjcleaver
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Plugin invocations with no arguments (e.g. SUP) when edited with the wikiplugin_editor, and without the hack in place get name value pairs such as:

$family
each
clean
associate
link
contains
extend

(see attachment)
Image


This seems to come about from lib/mootools/mootools.js

Affects tikilib.php and tiki-js.js

Workaround is in the code. Grep for "//TODO HACK: See bug 2499"

Files
  1. Picture 18
Solution
TBC.
Workaround

//TODO HACK: See bug 2499

This adds an empty array entry in the php file, and detects and removes it in the .js file.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2499
Created
Monday 11 May, 2009 17:57:43 UTC
by Unknown
LastModif
Tuesday 26 May, 2026 10:21:19 UTC


Show PHP error messages