Item9436: Problem to "allow" a pattern

pencil
Priority: Normal
Current State: New
Released In:
Target Release: n/a
Applies To: Extension
Component: TopicNameValidationPlugin
Branches:
Reported By: JuanPabloGaviria
Waiting For:
Last Change By: JuanPabloGaviria
Hi,

I trying to allow some patterns and the plugin stop working, but when i set the column flag to "allowed" nothing works with other string works but only deny.

So i checked the code and i found that when the following regexp match all the rule parameters set to empty:

my $isAllowed = ($3 =~ /allowed/)?1:0;

I debug that thing and when i set the flag to empty a got the following rule:

found pattern='', error='', isAllowed=1

And when i set it to other thing:
found pattern='[^a-ZA-z0-9\.\/_]', error='Solo cada usuario puede modificar y crear su propio topic.', isAllowed=0

And the rule then is evaluated but just for deny.

so, i don't know what happend here.. i lost.. i going to try others ways to get that, but is some has any idea pleace.

-- JuanPabloGaviria - 04 Aug 2010

 

ItemTemplate edit

Summary Problem to "allow" a pattern
ReportedBy JuanPabloGaviria
Codebase 1.0.9
SVN Range
AppliesTo Extension
Component TopicNameValidationPlugin
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r1 - 04 Aug 2010, JuanPabloGaviria
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