james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JSIEVE-8) I would be great to have sieve script validator that also validates commands mapping.
Date Fri, 04 Apr 2008 20:13:24 GMT

    [ https://issues.apache.org/jira/browse/JSIEVE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585739#action_12585739
] 

Robert Burrell Donkin commented on JSIEVE-8:
--------------------------------------------

May well be able to just check requires just after parse. This would probably be good enough.

> I would be great to have sieve script validator that also validates commands mapping.
> -------------------------------------------------------------------------------------
>
>                 Key: JSIEVE-8
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-8
>             Project: jSieve
>          Issue Type: New Feature
>    Affects Versions: 0.2
>            Reporter: Vladimir
>             Fix For: 1.0
>
>
> JSieve's parse validate only part of script. It doesn't validate commands mapping.
> Script will be valid according to parse method:
> require ["fileinto"]; 
> if address :contains ["To", "From"] "noone"{ 
>  fileinto_ "noneFolder"; 
> }
> but evaluate method will raise exception, 'cause there is no mapping to command: 
> fileinto_

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message