[transfer-dev] Re: cascadeDelete()

2009-06-19 Thread whostheJBoss
do post.delete(), then have your method troll down the tree and clean up all the related objects? I 3 decorators =) Chris Peterson On 6/19/09 10:26 AM, whostheJBoss dotfus...@changethings.org wrote: Has anyone here come up with a way (or written a custom method) to use cascadeDelete

[transfer-dev] Re: Transfer query fails when using variable for TQL

2009-06-22 Thread whostheJBoss
Thanks Mark! On Jun 22, 5:44 pm, Mark Mandel mark.man...@gmail.com wrote: Put a cfoutput around your savecontent, you've got your app set to output from within cfoutput Mark On Tue, Jun 23, 2009 at 10:24 AM, whostheJBoss dotfus...@changethings.orgwrote: Pretty simple issue here

[transfer-dev] Re: Railo 3.0.015 with Transfer (AOP advice and stack overflow)

2009-06-23 Thread whostheJBoss
is killing me :( On Jun 23, 5:38 am, Mark Mandel mark.man...@gmail.com wrote: Just because I'm going to bed soon but from my understanding, Transfer barely works, except on Railo 3.1+... no? Mark On Tue, Jun 23, 2009 at 9:29 PM, whostheJBoss dotfus...@changethings.orgwrote: Hey guys

[transfer-dev] Re: Railo 3.0.015 with Transfer (AOP advice and stack overflow)

2009-06-23 Thread whostheJBoss
I had originally meant 3.1.015, not 3.0, sorry! This is on 3.1.015 On Jun 23, 5:51 am, whostheJBoss dotfus...@changethings.org wrote: I'm using 3.1.015 and it still barely works. I'm very close though, almost all of my application is working save for these two issues: 1.) ordering of array

[transfer-dev] Re: Railo 3.0.015 with Transfer (AOP advice and stack overflow)

2009-06-23 Thread whostheJBoss
(as this requires me to re-factor and double my handlers up), but it gives me that stack overflow issue. I think there must be some issue in the AOP transaction advisor. On Jun 23, 5:52 am, whostheJBoss dotfus...@changethings.org wrote: I had originally meant 3.1.015, not 3.0, sorry! This is on 3.1.015

[transfer-dev] Re: Railo 3.0.015 with Transfer (AOP advice and stack overflow)

2009-06-23 Thread whostheJBoss
been an array by reference vs. array by value issue, but I have added a passby=value attribute to all of my arguments and still get the same issue. So, any ideas? :) On Jun 23, 7:09 am, whostheJBoss dotfus...@changethings.org wrote: Quick update: cfscript     transaction = getPlugin(ioc

[transfer-dev] Re: Railo 3.0.015 with Transfer (AOP advice and stack overflow)

2009-06-23 Thread whostheJBoss
with AOP advice. This fixes that issue. On Jun 23, 8:12 am, whostheJBoss dotfus...@changethings.org wrote: Ok, so this is absolutely something in the AOP advisor / transaction manager. I stripped my handler down to nothing, not using any Transfer calls at all. I simply have Transfer loaded

[transfer-dev] Re: Why would one use TQL?

2009-06-24 Thread whostheJBoss
I understand your feelings jarthel, I had these kind of thoughts when I first started using ORM. I felt guilty for going outside of Transfer. The truth is, you can use regular SQL whenever you'd like. If you have a model object (say a DAO or gateway) that works with your database, you can put

[transfer-dev] Re: cascadeDelete()

2009-06-25 Thread whostheJBoss
Sorry, a list of individual objects and a list of compositions to skip. On Jun 25, 2:34 pm, Mark Mandel mark.man...@gmail.com wrote: A list of singles? Can you be more specific? Mark On Thu, Jun 25, 2009 at 9:48 PM, whostheJBoss dotfus...@changethings.orgwrote: I would say that we

[transfer-dev] Transfer on Railo

2009-06-26 Thread whostheJBoss
I have managed to get Transfer working on Railo, although I am having a few issues. On my development box everything is fine. I have 4 gigs of RAM and I don't get any errors. On my testing server I have 512mb of RAM and I get java heap space errors left and right when I'm doing creates or on

[transfer-dev] Cache is empty?

2009-06-28 Thread whostheJBoss
I'm having an issue with the cache and I can't seem to figure out what the problem is. I'm using ColdBox / ColdSpring/ Transfer and loading Transfer as a ColdSpring Bean into the instance scope of one of my handlers from the ColdBox cache. So: !-- Define Transfer to be used as a bean -- bean

[transfer-dev] Re: Cache is empty?

2009-06-28 Thread whostheJBoss
reloading your CB app on every request? What platform are you on? Mark On Mon, Jun 29, 2009 at 10:33 AM, whostheJBoss dotfus...@changethings.orgwrote: I'm having an issue with the cache and I can't seem to figure out what the problem is. I'm using ColdBox / ColdSpring/ Transfer

[transfer-dev] Re: Cache is empty?

2009-06-29 Thread whostheJBoss
after the first time they are fast, so they must be cached somewhere. Any ideas? On Jun 28, 5:56 pm, Mark Mandel mark.man...@gmail.com wrote: Oh yeah.. what's your cache config? Mark On Mon, Jun 29, 2009 at 10:49 AM, whostheJBoss dotfus...@changethings.orgwrote: I reload the app

[transfer-dev] Re: Cache is empty?

2009-06-29 Thread whostheJBoss
in TransferFactory's init() function, and see if that is the case. Mark On Mon, Jun 29, 2009 at 4:35 PM, whostheJBoss dotfus...@changethings.orgwrote: Ok, a few things. I will explain my configuration first. I have my Transfer wired up in ColdBox via the Transfer Loader interceptor

[transfer-dev] Re: cascadeDelete()

2009-06-29 Thread whostheJBoss
it was specified and it also ignores the category composition since it was specified. On Jun 28, 5:37 pm, Mark Mandel mark.man...@gmail.com wrote: Can you show me how you see the syntax working, I'm struggling to visualise it. Mark On Fri, Jun 26, 2009 at 12:50 PM, whostheJBoss dotfus

[transfer-dev] Re: Cache is empty?

2009-06-29 Thread whostheJBoss
On Mon, Jun 29, 2009 at 4:35 PM, whostheJBoss dotfus...@changethings.orgwrote: Ok, a few things. I will explain my configuration first. I have my Transfer wired up in ColdBox via the Transfer Loader interceptor:   !-- Transfer Loader --   Interceptor class

[transfer-dev] Re: Cache is empty?

2009-06-30 Thread whostheJBoss
request... I would put some cflog statements in TransferFactory's init() function, and see if that is the case. Mark On Mon, Jun 29, 2009 at 4:35 PM, whostheJBoss dotfus...@changethings.orgwrote: Ok, a few things. I will explain my configuration first. I have my Transfer wired up

[transfer-dev] Re: simple transaction failing

2009-07-01 Thread whostheJBoss
at 8:52 PM, whostheJBoss dotfus...@changethings.orgwrote: Perhaps I'm doing this totally wrong, but this is what I'm trying... I have a bean called userService: bean id=userService class=model.users.userService        constructor-arg name=transfer                ref bean=Transfer

[transfer-dev] Re: simple transaction failing

2009-07-01 Thread whostheJBoss
mark.man...@gmail.com wrote: Should work.. not sure what is going on... the unit tests all pass. What CF platform are you on? Mark On Wed, Jul 1, 2009 at 10:34 PM, whostheJBoss dotfus...@changethings.orgwrote: I'm using                 transaction.execute(userService, saveuser, args

[transfer-dev] Re: simple transaction failing

2009-07-01 Thread whostheJBoss
, Mark Mandel mark.man...@gmail.com wrote: Should work.. not sure what is going on... the unit tests all pass. What CF platform are you on? Mark On Wed, Jul 1, 2009 at 10:34 PM, whostheJBoss dotfus...@changethings.orgwrote: I'm using                 transaction.execute(userService

[transfer-dev] about Railo

2009-07-01 Thread whostheJBoss
General functionality seems to work fine, but transaction advice of any kind does not actually protect the transaction. It doesn't cause an error, but won't rollback either. This includes both the execute and advise methods. They don't fail, but they don't help.

[transfer-dev] Re: simple transaction failing

2009-07-01 Thread whostheJBoss
#Aspec... Mark On Thu, Jul 2, 2009 at 1:47 AM, whostheJBoss dotfus...@changethings.orgwrote: Ok, it's back to giving me problems. I don't know what the issue is here. Mark, do you think you can you shoot me over one very simple working example of AOP advice with a service layer

[transfer-dev] Re: simple transaction failing

2009-07-02 Thread whostheJBoss
not rollback transactions when an error is thrown from the code? Mark On Thu, Jul 2, 2009 at 5:35 PM, whostheJBoss dotfus...@changethings.orgwrote: Ok, I am seeing the advice work properly now. I have been testing vigorously on both CF8 and Railo 3.1.017 Here is what I have discovered

[transfer-dev] Re: simple transaction failing

2009-07-02 Thread whostheJBoss
From Micha: this was a failure (only in version 3.1.0.015 to 3.1.019) we have already fixed, please update to newest release 3.1.0.020 on dev.railo.ch or wait for release coming today/tomorrow on www. Go figure! On Jul 2, 12:53 am, whostheJBoss dotfus...@changethings.org wrote: I was just

[transfer-dev] Re: simple transaction failing

2009-07-03 Thread whostheJBoss
the same for a ColdBox handler as it would be for any other CFC, it's just a CFC. Can you send me a reproducible test case, with the DB you are using? Mark On Fri, Jul 3, 2009 at 3:36 AM, whostheJBoss dotfus...@changethings.orgwrote: Oh, and this behavior is on both CF8 and Railo. I

[transfer-dev] Re: simple transaction failing

2009-07-03 Thread whostheJBoss
Sorry, here: http://www.pastey.net/117046 On Jul 3, 6:21 pm, Mark Mandel mark.man...@gmail.com wrote: I tried accessing the link.. it's timing out. I will try it again later. Mark On Fri, Jul 3, 2009 at 7:59 PM, whostheJBoss dotfus...@changethings.orgwrote: Ok Mark, I've made

[transfer-dev] Re: Railo 3.0 and Transfer ORM

2009-07-07 Thread whostheJBoss
I have transfer working on 3.1 perfectly. On Jul 7, 7:12 pm, Shawn shawn.grig...@gmail.com wrote: Bump? On Jun 12, 7:33 pm, Mark Mandel mark.man...@gmail.com wrote: Luis - can you be more specific than that? Mark On Sat, Jun 13, 2009 at 8:06 AM, Luis Majano lmaj...@gmail.com wrote:

[transfer-dev] Re: simple transaction failing

2009-07-07 Thread whostheJBoss
Any thoughts on this? I can repeat this behavior under multiple configurations. On Jul 3, 8:09 pm, whostheJBoss dotfus...@changethings.org wrote: Sorry, here: http://www.pastey.net/117046 On Jul 3, 6:21 pm, Mark Mandel mark.man...@gmail.com wrote: I tried accessing the link.. it's

[transfer-dev] Re: simple transaction failing

2009-07-08 Thread whostheJBoss
Okie dokie. On Jul 8, 4:21 pm, Mark Mandel mark.man...@gmail.com wrote: You can just send me a .zip file with a controller and AOP applied etc, you know ;o)  Should be much easier. Mark On Thu, Jul 9, 2009 at 8:41 AM, whostheJBoss dotfus...@changethings.orgwrote: I'll set you up

[transfer-dev] Re: simple transaction failing

2009-07-08 Thread whostheJBoss
I have uploaded the file to the Google Group. On Jul 8, 4:21 pm, Mark Mandel mark.man...@gmail.com wrote: You can just send me a .zip file with a controller and AOP applied etc, you know ;o)  Should be much easier. Mark On Thu, Jul 9, 2009 at 8:41 AM, whostheJBoss dotfus

[transfer-dev] Re: Stack Overflow Relationships?

2009-07-08 Thread whostheJBoss
I am also having memory issues, my simple saves take 1 to 3 megs and I heap out after short periods of time. On Jul 7, 9:39 pm, Mark Mandel mark.man...@gmail.com wrote: Sounds like I fixed one bug to introduce another... I'll see if I can set up a memory leak test to run overnight in the next

[transfer-dev] Re: Stack Overflow Relationships?

2009-07-09 Thread whostheJBoss
1.1 On Jul 8, 10:09 pm, Mark Mandel mark.man...@gmail.com wrote: whostheJBoss is this with 1.1 or SVN? Mark On Thu, Jul 9, 2009 at 3:03 PM, whostheJBoss dotfus...@changethings.orgwrote: I am also having memory issues, my simple saves take 1 to 3 megs and I heap out after short

[transfer-dev] Re: update all related records

2009-07-11 Thread whostheJBoss
It's called cascadeSave() Good luck! On Jul 11, 2:48 pm, marc marc.at.comp...@gmail.com wrote: Hi, I have 2 tables: menus and menutexts. 'Menus' contains all the information related to a menuitem (like action,active) and 'menutexts' contains the text information related to a menuitem

[transfer-dev] Re: simple transaction failing

2009-07-11 Thread whostheJBoss
are swallowing the error. I had thought this would have been self evident, but I guess I should have been clearer that Transactions only get rolled back when the exception is thrown. Mark On Thu, Jul 9, 2009 at 1:04 PM, whostheJBoss dotfus...@changethings.orgwrote: I have uploaded the file

[transfer-dev] Re: simple transaction failing

2009-07-11 Thread whostheJBoss
. I had thought this would have been self evident, but I guess I should have been clearer that Transactions only get rolled back when the exception is thrown. Mark On Thu, Jul 9, 2009 at 1:04 PM, whostheJBoss dotfus...@changethings.orgwrote: I have uploaded the file to the Google

[transfer-dev] Re: Railo 3.0 and Transfer ORM

2009-07-13 Thread whostheJBoss
and rewriting of your code (which ran fine on CF8), congratulations. This thread obviously isn't directed at you. On Jul 7, 10:31 pm, whostheJBoss dotfus...@changethings.org wrote: I have transfer working on 3.1 perfectly. On Jul 7, 7:12 pm, Shawn shawn.grig...@gmail.com wrote: Bump? On Jun

[transfer-dev] Re: simple transaction failing

2009-07-13 Thread whostheJBoss
, and not something your application logic would be built around. In which case, a global error handler would seem to be the best fit to catch it and provide a nice error message to the client, and report it back to you. How are you using it? Mark On Sun, Jul 12, 2009 at 3:18 PM, whostheJBoss

[transfer-dev] Re: simple transaction failing

2009-07-13 Thread whostheJBoss
14, 2009 at 5:40 AM, whostheJBoss dotfus...@changethings.orgwrote: Normally it would be, but this is a scenario where the user has a degree of freedom in doing their insert, and if it fails I still need the non-database actions that happened in the handler to go through while

[transfer-dev] Re: Railo 3.0 and Transfer ORM

2009-07-16 Thread whostheJBoss
nothing personal.  A good lesson for me, though, in making wrongful assumptions. Apologies, - Shawn On Jul 13, 12:48 pm, whostheJBoss dotfus...@changethings.org wrote: I don't exactly see how YOUR comment was constructive either, but I decided I should respond. I did think about letting

[transfer-dev] Re: Wrong value inserted into database

2009-07-16 Thread whostheJBoss
, whostheJBoss dotfus...@changethings.orgwrote: I am doing the following:                user = instance.Transfer.new(users.user);                user.setCustomID(rc.customID);                user.setNote(rc.customID); The value of rc.customID is 1474075992 When I check my database

[transfer-dev] Re: Support for other CFML engines

2009-07-17 Thread whostheJBoss
I am also using Transfer on Railo 3.1.0.022 without any noticeable errors. On Jul 17, 11:00 am, Dan Vega danv...@gmail.com wrote: I am working on my basic introduction to transfer presentation for CFUnited and had a quick question. I know that Transfer is officially supported on ColdFusion 7+

[transfer-dev] Re: Wrong value inserted into database

2009-07-31 Thread whostheJBoss
into the Database? Mark On Fri, Jul 24, 2009 at 3:04 AM, whostheJBoss dotfus...@changethings.orgwrote: squeek! No ideas on this? On Jul 16, 10:17 pm, whostheJBoss dotfus...@changethings.org wrote:                         object name=user table=users decorator

[transfer-dev] Re: Wrong value inserted into database

2009-07-31 Thread whostheJBoss
incorrectly, but running the EXACT same query without Transfer inserts it fine. Any thoughts??? On Jul 23, 1:17 pm, Mark Mandel mark.man...@gmail.com wrote: What does the SQL debug say for the values going into the Database? Mark On Fri, Jul 24, 2009 at 3:04 AM, whostheJBoss dotfus

[transfer-dev] Re: Wrong value inserted into database

2009-08-04 Thread whostheJBoss
this? I'm using InnoDB in MySQL 5 with BIGINT (have also tried INT) as my field type. Obviously the field is ok because a regular cfquery inserts the value just fine, so this is limited to Transfer. Any thoughts?? On Jul 31, 9:04 pm, whostheJBoss dotfus...@changethings.org wrote: Nope, like I

[transfer-dev] Re: Wrong value inserted into database

2009-08-04 Thread whostheJBoss
the problem is. So, all numeric values are being set to float. On Aug 4, 9:52 am, whostheJBoss dotfus...@changethings.org wrote: Yes, please see my examples above. Transfer updates the correct record in the correct database, it just happens to put in the wrong value. I know this for sure because I

[transfer-dev] Re: Wrong value inserted into database

2009-08-04 Thread whostheJBoss
since I have other fields that are not BIGINT and will cause the same problem for those fields, but this is definitely where the problem is. So, all numeric values are being set to float. On Aug 4, 9:52 am, whostheJBoss dotfus...@changethings.org wrote: Yes, please see my examples above

[transfer-dev] Re: Wrong value inserted into database

2009-08-04 Thread whostheJBoss
# It works. Obviously I can't leave it this way since I have other fields that are not BIGINT and will cause the same problem for those fields, but this is definitely where the problem is. So, all numeric values are being set to float. On Aug 4, 9:52 am, whostheJBoss dotfus

[transfer-dev] Re: Wrong value inserted into database

2009-08-04 Thread whostheJBoss
to find out) On Aug 4, 2:52 pm, Mark Mandel mark.man...@gmail.com wrote: You're also on Railo aren't you? Mark On Wed, Aug 5, 2009 at 6:17 AM, whostheJBoss dotfus...@changethings.orgwrote: By the way, thanks for helping!!! :) On Aug 4, 12:31 pm, Jennifer Larkin jlar...@gmail.com

[transfer-dev] Re: Wrong value inserted into database

2009-08-05 Thread whostheJBoss
=cf_sql_float list=#param.list# null=#param.isNull# And sets it to float? Thanks! On Aug 5, 4:52 pm, Mark Mandel mark.man...@gmail.com wrote: Sounds like a bug in Railo to me. Mark On Wed, Aug 5, 2009 at 8:18 AM, whostheJBoss dotfus...@changethings.orgwrote: You always manage to come

[transfer-dev] Re: Wrong value inserted into database

2009-08-05 Thread whostheJBoss
you are using, whereas on CF it has no such trouble. Mark On Thu, Aug 6, 2009 at 10:07 AM, whostheJBoss dotfus...@changethings.orgwrote: You happen to know what part of Transfer the bug is affecting? I'd be happy to take it up with the guys at Railo, just need to know what I

[transfer-dev] Re: Wrong value inserted into database

2009-08-10 Thread whostheJBoss
that that fixes the issue (just like cf_sql_bigint) does. -- Barney Boisvert bboisv...@gmail.com http://www.barneyb.com/; Hi whostheJBoss Railo translate CF_SQL_FLOAT to java.sql.Types.FLOAT then java.sql.PreparedStatement.setFloat(int index,float value) is used in this case, i think adobeCF use

[transfer-dev] Re: Wrong value inserted into database

2009-08-13 Thread whostheJBoss
Thoughts on this Mark? This is definitely a bug in CF that is reflected as a bug in Transfer. This is, I repeat, NOT a bug in Railo. As of now I have to change the numeric mapping to double to get my insert to work... On Aug 10, 12:10 pm, whostheJBoss dotfus...@changethings.org wrote: Ok, well

[transfer-dev] Re: Wrong value inserted into database

2009-08-14 Thread whostheJBoss
, 12:10 pm, whostheJBoss dotfus...@changethings.org wrote: Ok, well, I've taken this up with Railo and... http://groups.google.com/group/railo/browse_thread/thread/d8e20b98308. .. Any thoughts on this Mark? If you want the short version... What happens if you change the line from

[transfer-dev] Re: Wrong value inserted into database

2009-08-14 Thread whostheJBoss
, NOT a bug in Railo. As of now I have to change the numeric mapping to double to get my insert to work... On Aug 10, 12:10 pm, whostheJBoss dotfus...@changethings.org wrote: Ok, well, I've taken this up with Railo and... http://groups.google.com/group/railo/browse_thread/thread/d8e20b98308

[transfer-dev] Re: Wrong value inserted into database

2009-08-14 Thread whostheJBoss
to work, since it DOES distinguish FLOAT from DOUBLE. On Aug 14, 3:00 pm, Mark Mandel mark.man...@gmail.com wrote: whostheJBoss, You seem pretty passionate about this, which is fair enough. The thing is though - this needs to be tested on: CF7, Oracle, MySQL, SQLServer, Postgres CF8

[transfer-dev] Re: transfer.get(class,key) weird behavior

2009-09-25 Thread whostheJBoss
If anything, it's CF doing this. Like Mark said, what data type is the id column? On Sep 25, 12:02 pm, Aaron Roberson aaronarober...@gmail.com wrote: For some reason transfer.get() is taking the integer I'm passing in as the key and converting it into a double when creating the select query.

[transfer-dev] Sorry to ruin your lazy Saturday, Mark

2009-09-25 Thread whostheJBoss
:) Perhaps your brain will see the answer to this one instantly (or you've got a standard solution for this circumstance). Mine doesn't want to see it, I guess. I am using ColdBox and Transfer and am experiencing some behavior I can't wrap my head around. (It's most likely an error in my logic)

[transfer-dev] Re: Sorry to ruin your lazy Saturday, Mark

2009-09-25 Thread whostheJBoss
, whostheJBoss dotfus...@changethings.orgwrote: :) Perhaps your brain will see the answer to this one instantly (or you've got a standard solution for this circumstance). Mine doesn't want to see it, I guess. I am using ColdBox and Transfer and am experiencing some behavior I

[transfer-dev] Re: Revised many to many problem, even stranger

2009-09-26 Thread whostheJBoss
Ok, another update... if I set proxied=false on: onetomany name=posts lazy=true proxied=true link to=posts.post column=userID/ collection type=array /collection /onetomany Then it works! I can call getPostsArray() first and

[transfer-dev] Re: Sorry to ruin your lazy Saturday, Mark

2009-09-26 Thread whostheJBoss
want: comments and blogs that can both have many to many of tags from the same tags table. On Sep 25, 9:28 pm, Mark Mandel mark.man...@gmail.com wrote: Yeah, don't do that with m2m Use an interim table with composite keys. Mark On Sat, Sep 26, 2009 at 2:27 PM, whostheJBoss dotfus

[transfer-dev] Revised many to many problem, even stranger

2009-09-26 Thread whostheJBoss
After severe headaches, I set up a new, clean site using the post example from earlier. (no comments or multiple manytomany this time, the problem runs deeper, it appears) Here is the Transfer config: package name=users object name=user table=users decorator=components.decorators.users

[transfer-dev] Re: Sorry to ruin your lazy Saturday, Mark

2009-09-26 Thread whostheJBoss
will not save to the database. The tags will be added to the post.posts object (myPost) but if I do Transfer.save(myPost) the tags are not saved and they are dropped from the array. Ever see this behavior? On Sep 26, 12:39 am, whostheJBoss dotfus...@changethings.org wrote: Hmmm, everything I can find

[transfer-dev] Re: Sorry to ruin your lazy Saturday, Mark

2009-09-26 Thread whostheJBoss
I take that back, sorry. If I call: user.getPostsArray() at anytime before doing my addTags() calls I see that behavior. users.user has a one to many with Posts So, if I just call my addTags() they are saved, if I do getPostsArray () anytime before... nope. On Sep 26, 12:39 am, whostheJBoss

[transfer-dev] Re: Flexibility with setDistinctMode() and joins?

2009-09-30 Thread whostheJBoss
brain, all is well. On Sep 30, 10:15 pm, Mark Mandel mark.man...@gmail.com wrote: Does this help:http://docs.transfer-orm.com/wiki/Transfer_Query_Language.cfm#Selecti... Mark On Thu, Oct 1, 2009 at 3:10 PM, whostheJBoss dotfus...@changethings.orgwrote: I am having a problem

[transfer-dev] Re: Revised many to many problem, even stranger

2009-10-27 Thread whostheJBoss
on this? Sorry and thanks! On Oct 9, 5:58 am, whostheJBoss dotfus...@changethings.org wrote: I have written a custom TQL that handles my problem and all is great, so this is not a question I *need* the answer to, but I'm still quite curious WHY this is happening. Any thoughts on why calling

[transfer-dev] Re: Revised many to many problem, even stranger

2009-10-27 Thread whostheJBoss
) on that platform spring to mind Mark On Wed, Oct 28, 2009 at 1:17 PM, whostheJBoss dotfus...@changethings.orgwrote: I hate to beat this horse, but I'm still having this issue. The problem is even more prevalent now. I have many situations where I need to first get the array of items

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
Ok, I have tested this on CF8 and CF9 and I get identical behavior as I do with Railo. If I make a call to the SOMEPARENT.getWHATEVERArray() function, subsequent saves of many-to-many WHATEVER to SOMEPARENT do not save. The first addWHATEVER() works, but after that they fail to save. In this

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
AM, whostheJBoss dotfus...@changethings.orgwrote: Ok, I have tested this on CF8 and CF9 and I get identical behavior as I do with Railo. If I make a call to the SOMEPARENT.getWHATEVERArray() function, subsequent saves of many-to-many WHATEVER to SOMEPARENT do not save. The first

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
are lazy-loaded and proxied, they don't add much weight to the objects at all. So any thoughts on if isLoaded() comes back false? And still comes back false after calling loadTags() ? On Nov 2, 2:27 pm, Mark Mandel mark.man...@gmail.com wrote: On Tue, Nov 3, 2009 at 9:25 AM, whostheJBoss dotfus

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
- getTagsIsLoaded() After second save (save fails): false - getIsDirty() false - getTagsIsLoaded() On Nov 2, 2:27 pm, Mark Mandel mark.man...@gmail.com wrote: On Tue, Nov 3, 2009 at 9:25 AM, whostheJBoss dotfus...@changethings.orgwrote: Performance is horrid with that many objects. I have since

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
It was: Before calling getTagsArray(): false - getIsDirty() false - getTagsIsLoaded() After calling getTagsArray(): true - getIsDirty() true - getTagsIsLoaded() Immediately after first save (save works): false - getIsDirty() true - getTagsIsLoaded() Before second save: true - getIsDirty()

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
after having called getTagsArray(), anything after that won't. On Nov 2, 3:44 pm, Mark Mandel mark.man...@gmail.com wrote: What is the second save? I only see one save in the original code? Mark On Tue, Nov 3, 2009 at 10:38 AM, whostheJBoss dotfus...@changethings.orgwrote: Before

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
:00 AM, whostheJBoss dotfus...@changethings.orgwrote: Oops, I had a slight omission in the original post (or one of those following it, not sure at what point I came across this aspect of the behavior), the first addTags() after calling the array works, subsequent calls won't

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-02 Thread whostheJBoss
/remove doesn't fire on the object... even if the data is all wonky, the add/remove should still work.  the proxy() method on the ObjectProxy always goes *somewhere* even if that somewhere goes to an error. Mark On Tue, Nov 3, 2009 at 11:21 AM, whostheJBoss dotfus...@changethings.orgwrote

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-03 Thread whostheJBoss
1 2 3 4 5 6 7 It shows all 7 tags. However, the 6 and 7 do not stay saved. After save () is called, they are gone again. On Nov 2, 6:51 pm, Mark Mandel mark.man...@gmail.com wrote: On Tue, Nov 3, 2009 at 12:25 PM, whostheJBoss dotfus...@changethings.orgwrote: Step 3.) call event

[transfer-dev] Re: Revised many to many problem, even stranger

2009-11-03 Thread whostheJBoss
, so the addTags() *does* work, just something is the save() is going fubar. (Probably has to do with cache synchronisation). I'm ripping apart Transfer at the moment, I have an idea what it may be... I'll have a look. Mark On Tue, Nov 3, 2009 at 9:12 PM, whostheJBoss dotfus

[transfer-dev] Re: copy transfer object to another transfer object

2009-11-05 Thread whostheJBoss
I came here today for the specific reason of asking this same question! Thanks! :) On Oct 29, 8:10 am, Jim Rising cfflex...@jimrising.com wrote: I'm needing to copy one TO to another TO, and wondered if anyone had any ideas on the best way to do that? Basically I have one TO that needs to