Hi All,
We have upgraded our CS and Webtop from 6.5 SP1 to 6.5 SP3. Advance search was working fine with 6.5 SP1 but after upgrade it is giving error as below -
The search has failed :
- <DOCBASE> : Problem with this source. View Messages for more details.
Below is code to handle date attribute in custom advanced search code-
else if (controlType == IDfValue.DF_TIME) {
dateControl = (DateInput) getControl(controlName, Text.class);
controlValue = dateControl.getValue();
controlValue1 = dateControl.getValue();
if (!controlValue.equalsIgnoreCase(DATE_DEFAULT_VALUE)) {
controlValue = controlValue + " 00:00:00";
controlValue1 = controlValue1 + " 23:59:59";
rootExp.addSimpleAttrExpression(controlName, IDfValue.DF_TIME,
IDfSimpleAttrExpression.SEARCH_OP_GREATER_EQUAL, false, false, controlValue);
rootExp.addSimpleAttrExpression(controlName, IDfValue.DF_TIME,
IDfSimpleAttrExpression.SEARCH_OP_LESS_THAN, false, false, controlValue1);
}
}
Please advice!
Regards,
Sumanta