Ticket #193 (assigned defect)
NumberValueRangeProcessor_apply not working in the PHP-bindings
| Reported by: | daniel | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | Xapian-bindings | Version: | 1.0.2 |
| Severity: | normal | Keywords: | |
| Cc: | richard | Blocked By: | |
| Operating System: | All | Blocking: |
Description (last modified by richard) (diff)
The following returns an error, even though the right arguments have been passed:
$vrp = new XapianNumberValueRangeProcessor?(0, "\$", true); $vrp->apply((string)"240", (string)"500");
The error returned is: Fatal error: Type error in argument 2 of NumberValueRangeProcessor?_apply. Expected SWIGTYPE_p_stdstring in xapian.php on line 1217
line 1217 being: return NumberValueRangeProcessor?_apply($this->_cPtr,$begin,$end);
Have tried changing that line to say (string)$begin and (string)$end, same result.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
