Bug #1123

Handlers with ** work incorrectly

Added by Jan Dolinár almost 9 years ago. Updated over 8 years ago.

Status:ApprovedStart date:06/16/2015
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:SkylarkSpent time:-
Target version:Release 2015.2

Description

When the handler path contains "**", the "handler function" in witz treats it as if it was only "*", i.e. uses only one argument.

I attached a modified Skylark03 tutorial demonstrating the flawed cases. See the comments in index.witz.

I also tried to patch it, but I'm not very happy with it. It all seems way to complicated for such a simple problem. Perhaps there is a better solution. If not, the patch should be good enough to fix most of the corner cases which don't work correctly now.

Skylark03.zip - Modified Skylark03 tutorial (1.82 KB) Jan Dolinár, 06/16/2015 10:02 PM

Skylark.patch Magnifier - First attempt of fix (1.99 KB) Jan Dolinár, 06/16/2015 10:02 PM

History

#1 Updated by Miroslav Fidler over 8 years ago

  • Target version set to Release 2015.2

#2 Updated by Miroslav Fidler over 8 years ago

  • Status changed from Ready for CR to Approved

Also available in: Atom PDF