Judah, I gave the code to produce it. You don't need to tell me how to
report bugs, I was a testing Manager for a very large games company so I am
well and truly aware of the process. If it is applicable it is reported.
If I thought that it was reliant on what version of ColdFusion it was
running on I would have reported that, and as the examples I gave worked in
standard ColdFusion code and not in ColdBox told me it was a ColdBox error.
And any 3 year old will tell you that the code is not reliant on what
version of ColdFusion ColdBox is running on.
And before I even posted here I removed the ORMService.save(entity) and
replaced it with EntitySave() and got what I was supposed to get as an
error, replaced it back with ORMService.save() and I get session closed.
The code I gave was very straight forward and I hate to say this because it
will mean I am being an arsshole, but to be honest and 3 year old can work
out what the problem is. ORMSerivce.save() has a bug that it closes the
session. And after introspecting the code I see what the problem is and have
fixed my local copy.
Sorry to sound harsh here Judah but I appreciate your help, but your
questions are not needed in this example. As it is clear cut what the
problem is if anyone actually bothered to run the code. Please don't take my
rant the wrong way, I am tired of people coming back with a statement, that
in this case was very simple to work out how to find. And then not accepting
that I might have already tried many things before coming to this list, and
I tell you this that before I even do come to this list I have run a line
debugger over the code to see what is happening. I knew it was ColdBox and
not ColdFusion before even posting here, I just didn't know until after I
posted how to actually fix it.
Regards,
Andrew Scott
http://www.andyscott.id.au/
From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of Judah McAuley
Sent: Sunday, 10 October 2010 3:31 PM
To: coldbox@googlegroups.com
Subject: Re: [coldbox:6162] ORM Errors are giving session closed instead
of
the correct error.
Andrew, reporting what version of Coldfusion the error is occurring under
is a
basic part of bug reporting. We need to reproduce the error in order to be
able to verify that it is fixed. Part of that is knowing which version
this error is
happening under. I'm not saying that the problem isn't with Coldbox, but
if
you want it fixed, it helps to have a full understanding of where the
problem