This question about Using an extension: Answered

function Foswiki::Plugins::editRowPlugin::html doesn't exist

Hi,

it seems that function Foswiki::Plugins::editRowPlugin::html doesn't exist. Foswiki 1.1.9 EditRowPlugin 3.200 (30 Mar 2015)

It is called in foswiki/lib/Foswiki/Plugins/EditRowPlugin/Editor/textarea.pm line 30

I think it must be renamed to Foswiki::Render::html - for me that works.

-- BertoldAltaner - 07 Apr 2015

Sounds like your install might be a bit mixed up.

Foswiki::Render::html is a Foswiki 1.2.0 function, which is monkey-patched in lib/Foswiki/Plugins/EditRowPlugin.pm when the plugin is run under 1.1.9 - at least, that's what it's meant to do. Nothing should be calling Foswiki::Plugins::editRowPlugin::html

-- CrawfordCurrie - 07 Apr 2015

Hi, but when you download your plugin (http://foswiki.org/pub/Extensions/EditRowPlugin/EditRowPlugin.zip) you can find this function call...

-- BertoldAltaner - 08 Apr 2015

... I don't install Foswiki 1.2.0 - I even updated all Plugins I have in my 1.1.9 version! Next point is, that editRowPlugin don't run with -T perl check - I always get Insecure dependency in eval while running with -T switch at /var/www/foswiki/lib/Foswiki/Plugins/EditRowPlugin/Table.pm line 468 I have to delete the -T switch in view, viewauth and edit scripts to run this pluging. That's only a feedback from me - no critics! I like foswiki much (sometimes not, after Plugin-update...)

-- BertoldAltaner - 08 Apr 2015

Yes, because there is an implementation of the function provided in the EditRowPlugin for when it is not available from Foswiki::Render.

I have not seen the taint problem before. Please add a report in EditRowPlugin describing how to reproduce it.

-- CrawfordCurrie - 08 Apr 2015

I reinstalled EditRowPlugin again and do an dependencies_installer.pl. Now I don't have the problem with the Foswiki::Plugins::editRowPlugin::html no more! But the taint problem is still a problem. I wrote a bugreport: http://foswiki.org/Tasks/Item13363 Thanks!

-- BertoldAltaner - 09 Apr 2015
 

QuestionForm edit

Subject Using an extension
Extension EditRowPlugin
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r5 - 09 Apr 2015, BertoldAltaner - This page was cached on 30 Mar 2017 - 13:20.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License