Are you reloading Transfer between changes?
Mark
On Wed, Nov 4, 2009 at 1:21 AM, marc wrote:
>
> Hi,
> I get this error when I do a transfer.save()
>
> Error Messages: The method getaudioTextIsLoaded was not found in
> component D:\www\wwwroot\SimpleCMS\transfer\com\TransferObject.cfc.
> Ensur
Okay, 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 wrote:
>
> 1
> 2
> 3
No. I want to retrieve an object and I use this transfer code:
the line gives the error message.
Since the result is being converted to Json, I need a struct and not a
transfer object, that's
Yes, to delete, you must call delete()
Mark
On Wed, Nov 4, 2009 at 2:00 AM, Jason Durham wrote:
>
> Thanks for [subtly] pointing out the problem. cascadeSave() did the trick.
> :)
>
> I have the inserts and updates working well. I'm dealing with an
> event to remove an address. Is my logic
Excellent! Thank you! Even though I've worked around the problem, it
would be great if this worked, I've been quite curious as to why it
doesn't.
p.s. If you are ripping it apart, perhaps TQL query caching would be
possible? :)
On Nov 3, 2:31 pm, Mark Mandel wrote:
> Okay, so the addTags() *doe
You wouldn't try to inject the "transfer" object to handle transactions.
Transactions are handled by the "transferTransaction" object.
If you're using coldbox, you could wire the transferTransaction object like
below and then use it to advise your functions. Sample below is using
regular expressio
That looks very good!
I try to go for method #2:
'add' is the bunch of code below [... code ..] in my 1st post.
Anyway, I get an error
The TRANSACTION parameter to the init function is required but was not
passed in.
makes sense, since I specify the argument and set it's require
Thanks for [subtly] pointing out the problem. cascadeSave() did the trick. :)
I have the inserts and updates working well. I'm dealing with an
event to remove an address. Is my logic correct here?
//Get Address and Company
oAddress = AddressService.get( addressID );
oCompany = CompanyService
I vaguely recall reading something about turning off Transfer's transactions
so that you can use "cftransaction" so it might be possible. I say that just
to say that yes, it's within the realm of options to use "cftransaction" but
you'll likely be better off going with one of the mainstream ways th
Hi,
I get this error when I do a transfer.save()
Error Messages: The method getaudioTextIsLoaded was not found in
component D:\www\wwwroot\SimpleCMS\transfer\com\TransferObject.cfc.
Ensure that the method is defined, and that it is spelled correctly.
This is my Transfer.xml
Yes, that's what I do now. And it should be atomic so it should be in
a transaction. I guess I can't do this:
[... more code...]
since the can only contain elements. Is that
right and if so, does Transfer provide a mechanism for enabling
transactions?
Thank you,
Marc
--~--~-~--~-
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 wrote:
> On Tue, Nov 3, 2009 at 12:25 PM, whostheJBoss
> wrote:
>
> > Step 3.) call event with:
> > tag1 = Transfer.get("tags.tag", 6);
> > ta
12 matches
Mail list logo