Bug - DOM lookup for 'id' was not supported

- Removed DOM caching, which appears to be a problem.
- Added 'id' and 'uuid' to DOM::get, which were missing, and therefore
  caused all filters with sequences to fail.
- Modified CmdInfo to load all tasks, until TDB2 is here.
This commit is contained in:
Paul Beckingham
2011-06-26 12:45:48 -04:00
parent 41a6ff29c8
commit 58a04b9813
3 changed files with 41 additions and 69 deletions

View File

@@ -128,6 +128,7 @@ bool Expression::eval (Task& task)
right._raw_type = value_stack.back ()._raw_type;
}
value_stack.pop_back ();
// std::cout << "# right raw=" << right._raw << " type=" << right._type << " value=" << right._string << "\n";
// lvalue (dom).
Variant left (value_stack.back ());
@@ -138,6 +139,7 @@ bool Expression::eval (Task& task)
left._raw_type = value_stack.back ()._raw_type;
}
value_stack.pop_back ();
// std::cout << "# left raw=" << left._raw << " type=" << left._type << " value=" << left._string << "\n";
// Now the binary operators.
if (arg->first == "and")