Item11538: Version 6.00 of NatEditPlugin causes "Error: no such plugin natedit"

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: NatEditPlugin
Branches: trunk
Reported By: PadraigLennon
Waiting For:
Last Change By: MichaelDaum
I've upgraded to the latest version of the NatEditPlugin to avail of the enhanced permissions functionality..

On editing a topic I now get the error Error: no such plugin natedit This is down to the fact that I do not have NatSkin installed.

In templates/edit.natedit.tmpl the following is called which is causing the above error:

%ADDTOZONE{
  "script"
  tag="NATSKIN:EDIT"
  text="<script src='%PUBURLPATH%/%SYSTEMWEB%/NatSkin/edit.js'></script>"
  requires="NATSKIN::OPTS"
}

If I edit this template to point to the edit.js script which is bundled with NatEditPlugin I get the following error:

Uncaught TypeError: Object [object Object] has no method 'validate'

Should the NatSkin reference shown above be changed to NatEditPlugin instead?

-- PadraigLennon - 19 Feb 2012

The main cause for the error is the same as reported in Item11539: the code in NatSkin's edit.js needs to be merged over to NatEditPlugin.

The other error reported here "no such plugin natedit" stems from the fact, that you will have to run configure and save at least once to get all config settings into your LocalSite.cfg

-- MichaelDaum - 20 Feb 2012
 

ItemTemplate edit

Summary Version 6.00 of NatEditPlugin causes "Error: no such plugin natedit"
ReportedBy PadraigLennon
Codebase
SVN Range
AppliesTo Extension
Component NatEditPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:33a63a198dad
ReleasedIn n/a
CheckinsOnBranches trunk
trunkCheckins distro:33a63a198dad
Release01x01Checkins
Topic revision: r3 - 20 Feb 2012, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy