History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-1508
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jason
Reporter: Daniel Ostermeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Escaping characters in regex is handled inconsistently.

Created: 21/May/08 03:04 AM   Updated: 29/May/08 01:48 PM
Component/s: None
Affects Version/s: 1.2.51
Fix Version/s: 2.0.6, 1.2.52


 Description  « Hide
Setting a regex post processor with the pattern ":-\\)" works fine for the post processing itself, but results in the following warning. Investigate.

May 20, 2008 2:25:56 PM com.zutubi.pulse.model.AnyCapableBuildHostRequirements fulfilledBy
WARNING: Unable to load resource requirements from pulse file for project 'sample smiley': Processing element 'pattern': starting at line 5 column 5: java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 3
:-\\)
   ^
com.zutubi.pulse.core.ParseException: Processing element 'pattern': starting at line 5 column 5: java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 3
:-\\)
   ^
at com.zutubi.pulse.core.FileLoader.createParseException(FileLoader.java:401)
at com.zutubi.pulse.core.FileLoader.loadType(FileLoader.java:241)
at com.zutubi.pulse.core.FileLoader.loadSubElements(FileLoader.java:269)
at com.zutubi.pulse.core.FileLoader.loadType(FileLoader.java:193)
at com.zutubi.pulse.core.FileLoader.load(FileLoader.java:111)
at com.zutubi.pulse.core.PulseFileLoader.loadRequiredResources(PulseFileLoader.java:58)
at com.zutubi.pulse.model.AnyCapableBuildHostRequirements.fulfilledBy(AnyCapableBuildHostRequirements.java:38)
at com.zutubi.pulse.ThreadedRecipeQueue.run(ThreadedRecipeQueue.java:439)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

 All   Comments   Change History      Sort Order:
jason - 27/May/08 03:42 PM
Fixed in change 4434.

jason - 29/May/08 01:48 PM
Merged to trunk in change 4441.