This has been fixed.  I committed the fix.  Get lastest and delete your
project folder.

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean
Corfield
Sent: Monday, February 27, 2006 3:34 PM
To: [email protected]
Subject: Re: [Reactor For CF] New features: Table and Field aliases

On 2/26/06, Doug Hughes <[EMAIL PROTECTED]> wrote:
> I thought I should let you know that I rolled out two much-requested
feature
> today:  Table aliases and Field aliases.

Yay!

> So, because this touched so much I really need people to test this feature
> and report things that did work, but which no longer work.

OK, I found a breakage:

I aliased a table (object) and get a gw.getAll("colname") and the
generated code seems to use the *UN*aliased object name in
project/Gateway/{alias}Gateway.cfc in the default sort order:

                <cfloop list="#arguments.sortByFieldList#" index="x">
                        <cfset Query.getOrder().setAsc("objectname",
trim(x)) />
                </cfloop>

Note "objectName" instead of "aliasname". I manually edit that and it
worked but haven't had a chance to trace back through the system to
see where the origin of the bug is.

Otherwise it all works very sweetly!
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/



 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to