Item11133: EditChapterPlugin 4.10 not responding to Edit Request
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
We updated our site - installing the latest version of
EditChapterPlugin and
JSQueryPlugin (both at 4.10). The "pencil" for
EditChapter appears but when you select it, nothing happens.
Our site is running Foswiki version Foswiki-1.1.3, Sat, 16 Apr 2011, build 11475, Plugin API version 2.1
--
JoeMarandola - 15 Sep 2011
gac410 (
GeorgeClark) noted the same with Foswiki 1.1.4. I couldn't duplicate this on my 1.1.3, as I couldn’t' get the pencil to appear.
--
JayenAshar - 27 Oct 2011
This one needs more info:
- which other plugins are you using?
- which browser are you using?
- any javascript error?
- any error log on the server side?
- try to check xhr communication on the browser's console (using firebug or chrome):
- does it generate any ajax call?
- grab the xhr link and open it up on a separate tab: what does it return?
- remove the
rest
script from {AuthScripts}
in your foswiki configuration
--
MichaelDaum - 27 Oct 2011
I had the following issues on my 1.1.4 system
- the jsonxml script was failing - unable to find setlib.cfg. Fixed by syncing up with the other bin scripts.
- The switchboard entry is old format - (no => notation). I updated, but may be wrong
- Removed rest script from
AuthScripts
- no impact.
After these changes, the json script worked, but clicking the pencil gave an error popup empty of any text. Tracing the http connection, it was getting a 404 status from the server.
This was a new 1.1.4-beta1 install, no other plugins other than default.
--
GeorgeClark - 29 Oct 2011
Other plugins:
Browser: Firefox 7.0.1 on Ubuntu 10.10
ERROR: (404) Invalid REST invocation - /RenderPlugin/template does not refer to a known handler
No error in the apache logs.
Removed rest script from
AuthScripts - no impact.
Installed and enabled
RenderPlugin - success!
--
JayenAshar - 05 Nov 2011
Re-added rest script to
AuthScripts - gives a suspicious change request.
--
JayenAshar - 05 Nov 2011
which other plugins are you using?
Installed Plugins
- TWikiCompatibilityPlugin (1.1.1, $Rev: 8378 (2010-07-31) $): Add TWiki personality to Foswiki
- BugzillaQueryPlugin (1.04): This plugin is useful to display links or data results from Bugzilla.
- TablePlugin (1.134, $Rev: 12396 (2011-08-27) $): Control attributes of tables and sorting of table columns
- SpreadSheetPlugin (10 Apr 2011, $Rev: 11360 (2011-04-10) $): Add spreadsheet calculations like "$SUM($ABOVE())" to Foswiki tables and other topic text
- EditTablePlugin (4.40, $Rev: 11368 (2011-04-10) $): Edit tables using edit fields, date pickers and drop down boxes
- SlideShowPlugin (2.1.4, $Rev: 12410 (2011-08-28) $): Create web based presentations based on topics with headings
- ExplicitNumberingPlugin (1.6.2, $Rev: 12385 (2011-08-25) $): Use the ##., ##.. etc. notation to insert outline numbering sequences (1, 1.1, 2, 2.1) in topic's text. Also support numbered headings.
- ExcelImportExportPlugin (Foswiki, $Rev: 0$): Renders an attached Excel spreadsheet as Foswiki table
- AttachLinkPlugin (1.001, $Rev: 1558 (23 Dec 2008) $): Painless links to attachments
- AutoViewTemplatePlugin (10 Apr 2011, $Rev: 11364 (2011-04-10) $): Automatically sets VIEW_TEMPLATE and EDIT_TEMPLATE
- BatchUploadPlugin (1.3, $Rev: 11345 (2011-04-08) $): Attach multiple files at once by uploading a zip archive
- BugzillaLinkPlugin (TWiki-4.2, $Rev: 15942 (22 Jan 2008) $): Plugin process bugzilla links
- CalendarPlugin (2.000, $Rev: 8058 (2010-07-07) $): Show a monthly calendar with highlighted events
- ChartPlugin (1.6.0, $Rev: 11481 (2011-04-17) $): Create area, bar, line and scatter charts to visualize table data
- CommentPlugin (10 Apr 2011, $Rev: 11361 (2011-04-10) $): Quickly post comments to a page without an edit/save cycle
- CompareRevisionsAddonPlugin (10 Apr 2011, $Rev: 11366 (2011-04-10) $):
- EditChapterPlugin (4.10, $Rev: 12421 (2011-08-29) $): An easy sectional edit facility
- FilterPlugin (2.06, $Rev: 12386 (2011-08-25) $): Substitute and extract information from content by using regular expressions
- GenPDFAddOnPlugin (1.2, $Rev: 7410 (2010-05-14) $): GenPDFAddOnPlugin helper plugin for GenPDFAddOn renders the %GENPDF% tag
- HistoryPlugin (1.10, $Rev: 11371 (2011-04-10) $): Shows a complete history of a topic
- HolidaylistPlugin (1.033, $Rev: 11840 (2011-06-03) $): Create a table with a list of people on holidays
- InterwikiPlugin (10 Apr 2011, $Rev: 11354 (2011-04-10) $): Link ExternalSite:Page text to external sites based on aliases defined in a rules topic
- JHotDrawPlugin (29 Oct 2010, $Rev: 9801 (2010-10-29) $): Java Applet based drawing editor
- JQueryPlugin (4.10, $Rev: 11763 (2011-05-25) $): jQuery JavaScript library for Foswiki
- MailerContribPlugin (9 Jul 2010, $Rev: 11306 (2011-04-05) $): Supports e-mail notification of changes
- MediaPlugin (1.3.3, 4882): Embed multimedia objects such as Flash or QuickTime in topics
- PreferencesPlugin (11 Apr 2011, $Rev: 11375 (2011-04-10) $): Allows editing of preferences using fields predefined in a form
- PublishPlugin (2.3.2, $Rev: 12296 (2011-08-10) $): Generate static output (HTML, PDF) optionally upload (FTP) the output to a publishing site.
- RenderListPlugin (2.2.3, $Rev: 11377 (2011-04-10) $): Render bullet lists in a variety of formats
- SmiliesPlugin (11 Apr 2011, $Rev: 11381 (2011-04-10) $): Render smilies like as icons
- TinyMCEPlugin (1.1.10, $Rev: 11661 (2011-05-10) $): Integration of the Tiny MCE WYSIWYG Editor
- TwistyPlugin (1.6.13, $Rev: 11815 (2011-06-02) $): Twisty section Javascript library to open/close content dynamically
- WorkflowPlugin (1.12.1, $Rev: 10878 (2011-03-01) $): Associate a "state" with a topic and then control the work flow that the topic progresses through as content is added.
- WysiwygPlugin (1.1.2, $Rev: 11387 (2011-04-10) $): Translator framework for WYSIWYG editors
which browser are you using?
Chrome
any javascript error?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322;
InfoPath.1; .NET4.0C; .NET4.0E)
Timestamp: Mon, 7 Nov 2011 20:51:29 UTC
Message: 'JSON' is undefined
Line: 1
Char: 265
Code: 0
URI:
https://teamcameo.spawar.navy.mil/wiki/pub/System/JsonRpcContrib/jquery.jsonrpc.js?version=1.0
I got this error in attempting the same on IE8. I went and reinstalled
JsonRpcContrib and still got the same error.
--
JoeMarandola - 07 Nov 2011
Another clue. When I have
EditChapterPlugin enabled, we have an issue with "VarTOC". On each line of the TOC, it also has the topic name and the line number - something like "Heading 1: 'topicname' from 1 to 1" (sometype of debug?). When we disable
EditChapterPlugin, the TOCs are then correct.
--
JoeMarandola - 14 Nov 2011
I believe this is caused by
CommentPlugin as documented in
Item11270
--
MyqLarson - 21 Nov 2011
I also have the pencil link do nothing. This seems to be because it is linking to bin/view/x rather than bin/edit/x
--
NickRyder - 06 Dec 2011
A new
EditChapterPlugin will have to wait until after foswiki-1.1.4 has been released. That's because it requires the new
JQueryPlugin that comes with 1.1.4.
--
MichaelDaum - 07 Dec 2011
The latest
EditChapterPlugin depends on
RenderPlugin.
--
MichaelDaum - 10 Jan 2012
Thanks for the info, Michael. Installed
RenderPlugin and
EditChapter came alive. Neat little edit window. Come up with a slight delay but beats searching for the text in a large document. We haven't tested how multiple edits work yet but we will.
--
JoeMarandola - 10 Jan 2012