This queue is for tickets about the Alzabo CPAN distribution.

Maintainer(s)' notes

Not really maintained any more. Interested in taking it over? Email the author.

Report information
The Basics
Id:
19596
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
Rainer.Rohmfeld [...] emuge.de
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.87
Fixed in:
(no value)



Subject: where conditions do not accept SQL functions like REPLACE
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 289
the following where condition results in an error: where=>[REPLACE($table->name,' ',''),'=','blafoo'] The error can be fixed in SQLMaker::condition 542 validate_pos ( @_, 543 { type => OBJECT }, 544 .... by changing line 543 to { type=> OBJECT | SCALAR },
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-3914-1195754733-417.19596-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 525
On Tue May 30 02:56:01 2006, guest wrote:
Show quoted text
> the following where condition results in an error: > > where=>[REPLACE($table->name,' ',''),'=','blafoo'] > > The error can be fixed in SQLMaker::condition > > 542 validate_pos ( @_, > 543 { type => OBJECT }, > 544 .... > > by changing line 543 to { type=> OBJECT | SCALAR },
Sorry for the ridiculously slow response. This should work as-is. There's a bunch of tests in 03-runtime.t that use SQL functions as the first part of a where condition.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.