Item9040: WorkflowPlugin is only working on CamelCase topics

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: patch
Applies To: Extension
Component: WorkflowPlugin
Branches:
Reported By: IngoWolf
Waiting For:
Last Change By: CrawfordCurrie
WorkflowPlugin does not work with topics which are not CamelCase.

It does not handle e.g. New001, but only NeW001

I consider this a bug, as I and Crawford see no need for this. -- IngoWolf - 19 May 2010

commenting line 83 in WorkflowPlugin.pm changes to normal behaviour

#Bug?# return undef unless Foswiki::Func::isValidTopicName( $topic );

-- IngoWolf - 19 May 2010

What you are saying is "Workflow plugin only works with valid topic names".

You can extend the range of valid topic names in configure.

Not a bug; a feature.

-- CrawfordCurrie - 19 May 2010

CDot: configure defines a regex which is used to validate topic names

-- IngoWolf - 20 May 2010

 # Allow non-wikiwords
         return undef unless Foswiki::Func::isValidTopicName( $topic, 1 );

-- IngoWolf - 20 May 2010

in line 83 in WorkflowPlugin.pm solves the problem

-- IngoWolf - 20 May 2010

Duplicate of Item8321

-- CrawfordCurrie - 20 May 2010

 

ItemTemplate edit

Summary WorkflowPlugin is only working on CamelCase topics
ReportedBy IngoWolf
Codebase 1.0.9
SVN Range
AppliesTo Extension
Component WorkflowPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease patch
ReleasedIn
Topic revision: r6 - 20 May 2010, CrawfordCurrie
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