ObjectQuery fails if query text contains spaces
The wCMF web application framework
Brought to you by:
iherwig
The following request fails with illegal SQL:
$objQuery = &$persistenceFacade->createObjectQuery("My Type");
$objTpl = & $objQuery->getObjectTemplate("My Type");
$objTpl->setValue("Name", "This is a name with spaces", DATATYPE_ATTRIBUTE);
It works if there are no spaces in the value set.