Doug,
Would it be possible to somehow try/catch the blank xmlsearch condition and just return the untranslated error?


besides the xml casing issues, I have also been having problems in the dictionary when the object name is the same as one of the fieldnames. ex. my emailaddress table has an emailaddress field.
It throws the same XML error.

Thanks Doug!

Doug Sims
www.evenamonkey.com

On 7/20/06, Teddy Payne < [EMAIL PROTECTED]> wrote:
Well before I start digging, I need to start playing with reactor more on the other various object uses.  I use the gateway and record factories often, but I know that is only 2 out of like 7 factories. 

I have an idea.  If you use Reactor other than for CRUD objects and Gateway table linking, please email me or this list how you are  using Reactor.  I want to use Reactor to the full potential.  If I can save time with queries, where else can I save time.

Teddy

On 7/20/06, Doug Hughes < [EMAIL PROTECTED]> wrote:

Lol.  I'll have to make a little spaceship logo or something. ;)

 

There's some very preliminary thinking on R2 on the trac site…. But it's hidden.  You'll need to dig.

 

Doug

 


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Teddy Payne
Sent: Thursday, July 20, 2006 7:21 AM


To: [email protected]
Subject: Re: [Reactor for CF] bug w/ mg:unity and reactor

 

Reactor 2 has a certain zing to the name.  Almost like saying Red Dwarf.

Teddy

On 7/20/06, Doug Hughes <[EMAIL PROTECTED] > wrote:

What DBMS?

I've only been vaguely following your emails (sorry, been busy beyond
believe lately).

I'll agree that there are some annoyances with casing in Reactor, especially
in the dictionaries.  One of the problem with that is that the XML functions
in CF are case sensitive.  That's right an xpath search with XmlSearch()
must match case in the xml document.

This means that issues with the dictionaries can be extra painful.  In
reactor 2 I plan to remove all usage of XmlSearch and a some of these case
issues should get better.

Doug

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On
Behalf Of Raymond Camden
Sent: Thursday, July 20, 2006 7:10 AM
To: [email protected]
Subject: Re: [Reactor for CF] bug w/ mg:unity and reactor

sigh

Ok, I think now I may really have it. I had this in my mg file:

                                <message name="modelglue.GenericList">
                                        <argument name="object"
value="Groups" />
                                </message>

But in the DB, my table was groups, not Groups. Fixing the case seemed
to do it.

I still think the error should have been handled by Reactor. It tries
to xmlSearch on an empty string which is always going to throw an
error.

On 7/20/06, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Ugh.
>
> This is ridiculous. I reinit my MG app this morning and the error
> returns. The entire site goes down.
>
> I can't believe something so simple as a 2 column table and simple
> usage of reactor isn't being consistent. If this is my fault, fine,
> but I'm  now ready to just rip it out instead of using it.
>
> I currently have 2 uses of reactor. Only one, for the group table,
> causes this issue. When I nuke the Dictionary/Metadata files for
> group, it fixes itself.
>
> I can now reinit again multiple times w/o error, but I'm not sure if
> it will return now.
>
> On 7/19/06, Raymond Camden <[EMAIL PROTECTED] > wrote:
> > Ah - Joe had mentioned that I should clear out my Dictionary files.
> > That had not helped. But clearing out Dictionary and Metadata files
> > seems to have worked ok.
> >
> >
>
>
> --
>
===========================================================================
> Raymond Camden, Vice President of Technology for roundpeg
>
> Email    : [EMAIL PROTECTED]
> Blog     : ray.camdenfamily.com
> AOL IM   : cfjedimaster
>
> "My ally is the Force, and a powerful ally it is." - Yoda
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
> Reactor for ColdFusion Mailing List
> [email protected]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
>
>


--
===========================================================================

Raymond Camden, Vice President of Technology for roundpeg

Email    : [EMAIL PROTECTED]
Blog     : ray.camdenfamily.com
AOL IM   : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




--
<cf_payne />


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



--
<cf_payne />

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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