Item11061: lc(Field) =~ lc('something') failing again
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
SEARCH crash: Acacia/LLB/Taxa.0048: SEARCH{"lc(Acacia_SeedSource)=~lc('9002') AND (fields[value='Acacia/LLB/Taxa.0048'])"
This works fine, though:
SEARCH{"Acacia_SeedSource=~'9002' AND (fields[value='Acacia/LLB/Taxa.0048'])"
Can't lc an integer? The mongod log said:
Wed Aug 24 16:49:38 [conn1586] JS Error: SyntaxError: missing ; before statement nofile_a:0
Wed Aug 24 16:49:38 [conn1586] Count with ns: web_abd862ce9541a8916cc97b4646f81bd7.current and query: { _history: { $exists: 0 }
, $where: " ( (( /9002/.test(foswiki_toLowerCase(foswiki_getField(this, 'FIELD.Ac..." } failed with exception: exception: 10070
$where compile error
Wed Aug 24 16:49:38 [conn1586] JS Error: SyntaxError: missing ; before statement nofile_a:0
Wed Aug 24 16:49:38 [conn1586] assertion 10070 $where compile error ns:web_abd862ce9541a8916cc97b4646f81bd7.current query:{ orde
rby: { _topic: 1 }, query: { _history: { $exists: 0 }, $where: " ( (( /9002/.test(foswiki_toLowerCase(foswiki_getField(this, 'FI
ELD.Ac..." } }
Wed Aug 24 16:49:47 [clientcursormon] mem (MB) res:4577 virt:10241 mapped:9791
Wed Aug 24 16:49:48 [conn1566] JS Error: SyntaxError: missing ; before statement nofile_a:0
Wed Aug 24 16:49:48 [conn1566] Count with ns: web_abd862ce9541a8916cc97b4646f81bd7.current and query: { _history: { $exists: 0 }
, $where: " ( (( /9002/.test(foswiki_toLowerCase(foswiki_getField(this, 'FIELD.Ac..." } failed with exception: exception: 10070
$where compile error
Wed Aug 24 16:49:48 [conn1566] JS Error: SyntaxError: missing ; before statement nofile_a:0
Wed Aug 24 16:49:48 [conn1566] assertion 10070 $where compile error ns:web_abd862ce9541a8916cc97b4646f81bd7.current query:{ orderby: { _topic: 1 }, query: { _history: { $exists: 0 }, $where: " ( (( /9002/.test(foswiki_toLowerCase(foswiki_getField(this, 'FIELD.Ac..." } }
--
PaulHarvey - 24 Aug 2011
MongoDBPlugin MongoDBPlugin:74d537b5ca54
core
distro:43d73c8445c3
--
PaulHarvey - 24 Aug 2011