View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000573 | SymmetricDS | Bug | public | 2012-01-20 19:54 | 2012-01-27 21:52 |
Reporter | Assigned To | chenson | |||
Priority | urgent | ||||
Status | closed | Resolution | fixed | ||
Product Version | 2.5.4 | ||||
Target Version | 2.5.5 | Fixed in Version | 2.5.5 | ||
Summary | 0000573: ColumnMatchDataRouter incorrectly parses router expressions with column names that contain 'OR'. e.g. CONCENTRATOR_ID | ||||
Description | "Get the following error message from the SymmetricDS Server: ColumnMatchDataRouter - The provided column match expression was invalid: CONCENTRAT. The full expression is CONCENTRATOR_ID=:EXTERNAL_ID. The router expression is being parsed using the regular expression "" | | |\s*or\s*|\s*OR\s*"", but \s* means *zero* or more spaces. This means that if a column contains 'OR' then the expression will be incorrectly parsed. I haven't tested as yet but I believe that a more correct regular express would be "" | | |\s+or\s+|\s+OR\s+"") since the \s+ means one or more spaces." | ||||
Tags | No tags attached. | ||||