Item11960: CLI scrips ignore the topic param due to HomePagePlugin bug.

pencil
Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: HomePagePlugin
Branches: trunk
Reported By: PaulHarvey
Waiting For:
Last Change By: GeorgeClark
So far, debugging from Foswiki::Plugins->load() indicates we get $session->{webName} and $session->{topicName} are stomped on when initialising HomePagePlugin.

-- PaulHarvey - 21 Jun 2012

My test is ./view -topic Sandbox.WebList -skin text

-- PaulHarvey - 21 Jun 2012

Related: Item1650

-- PaulHarvey - 21 Jun 2012

er, looks like thats the case without HomePagePlugin too.

additionally, I'm seeing some empty results, so argh.

-- SvenDowideit - 22 Jun 2012

Looks like it is definitely HomePagePlugin. the genwebnotify script on foswiki.org was creating an empty WebNotify. Finally disabled HomePagePlugin on trunk, and genwebnotify started working again.

-- GeorgeClark - 12 Aug 2012

Fixed. bail out from plugin if context is 'command_line'.

-- GeorgeClark - 12 Aug 2012

No feedback by Paul: seems to be fixed then.

-- MichaelDaum - 18 Dec 2014
 

ItemTemplate edit

Summary CLI scrips ignore the topic param due to HomePagePlugin bug.
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component HomePagePlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:1a03fdd60e54
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches trunk
trunkCheckins distro:1a03fdd60e54
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r8 - 05 Jul 2015, GeorgeClark
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