Proxies don't work on CF7 because they rely on onMissingMethod.
Perhaps Transfer could throw a more meaningful error, eg. by checking
the version, but my guess is that Mark's relying on people to just not
do it.
Cheers,
Bob
On Wed, Nov 26, 2008 at 11:44 AM, Qasim Rasheed [EMAIL PROTECTED]
duh? I guess having an extra set of knowledgeable eyes definitely helps.
Thanks for a quick response
Qasim
On Wed, Nov 26, 2008 at 12:05 PM, Bob Silverberg
[EMAIL PROTECTED]wrote:
Proxies don't work on CF7 because they rely on onMissingMethod.
Perhaps Transfer could throw a more meaningful
I am getting the following error:
500
ROOT CAUSE:
java.lang.StackOverflowError
at java.util.HashMap.put(HashMap.java:372)
at java.util.HashMap.putAll(HashMap.java:524)
at com.compoundtheory.dynamic.Memento.getMemento(Memento.java:67)
at
Check the number of records returned by the code on production vs. the dev
machine. Stack Overflows usually mean so much stuff was loaded that the
server ran out of memory.
DW
On Wed, Nov 26, 2008 at 1:55 PM, David Mineer [EMAIL PROTECTED] wrote:
I am getting the following error:
500
Good catch, from now on we call you Quicksilver. :D
J
On Nov 26, 2008, at 11:39 AM, Qasim Rasheed wrote:
duh? I guess having an extra set of knowledgeable eyes definitely
helps.
Thanks for a quick response
Qasim
On Wed, Nov 26, 2008 at 12:05 PM, Bob Silverberg
[EMAIL PROTECTED]
THanks for the tip. Your thought got me thinking.
My table has a self join column, parentid. The user had linked this record
to itself which I am sure caused some kind of infinite loop.
companyid = 388
parentid = 388
No I just have to stop them from being able to do that. a record should not
If you want to do do this you need to make sure that all the
relationships are lazy-loaded. Then it should work.
If you have lazy turned on for the relationships, the get*() methods
will get created but the data won't be loaded till you call the
method. This prevents an infinite loop from
I found a transfer bug yesterday, but at the time I wasn't sure what
was going on.
Now I know, and I shall share, and gather comments, and if there's a
bug tracker I'll prolly file a defect. :D Never done that with
Transfer before so I dunno where the bugbase even is. I shall look
for
I figured the big blue box at the top was enough to warn people?
http://docs.transfer-orm.com/wiki/Using_TransferObject_Proxies.cfm
Now I have to write meaningful errors too?
:D
Mark
On Thu, Nov 27, 2008 at 4:05 AM, Bob Silverberg
[EMAIL PROTECTED] wrote:
Proxies don't work on CF7 because
Recursive relationships should throw a meaningful error letting you
know to set a composition to being lazy loaded, rather than 500 out.
If you need to check Transfer versions, you can check
TransferFactory.getVersion()
Jared,
Looks like a bug - but, can you lay out the the basic config for me,
so I can see the object relationships, as I think there are a couple
of m2m relationships in there.
Mark
On Thu, Nov 27, 2008 at 7:11 AM, Jared Rypka-Hauer
[EMAIL PROTECTED] wrote:
I found a transfer bug yesterday,
Sure:
object name=company table=Company decorator=auction.$
{companyName}.model.company
id name=ID type=numeric /
property name=Name type=string column=Name /
property name=URL type=string column=URL /
Mark,
You are absolutely correct about the big blue box. I just forgot to remove
the proxied attribute from the object definition.
Thanks
Qasim
On Wed, Nov 26, 2008 at 3:53 PM, Mark Mandel [EMAIL PROTECTED] wrote:
I figured the big blue box at the top was enough to warn people?
13 matches
Mail list logo