Re: Weird Behaviour...
Re: Weird Behaviour...
- Subject: Re: Weird Behaviour...
- From: Chuck Hill <email@hidden>
- Date: Wed, 07 Dec 2011 13:10:01 -0800
There have been other bugs in the past (and maybe still in 5.4.3) that can cause the same symptoms. An unlocked EC can also result in this.
On 2011-12-07, at 1:02 PM, Andrew Lindesay wrote:
> Hi there;
>
> Yes I believe this actually is indicative of the problem; it seems that the editing context at that moment doesn't think it has any changes when it actually does.
>
> cheers.
>
> On 8/12/11 2:59 AM, ISHIMOTO Ken wrote:
>> Hi,
>>
>> Do you use
>>
>> ec.hasChanged() {
>>
>> ec.saveChanges();
>>
>> }
>>
>> I have found, but not find why sometimes hasChanged() says false but the
>> EO really changed.
>>
>>
>>
>>
>>
>> On 2011/12/05, at 15:35, Calven Eggert wrote:
>>
>>> Hi, All
>>>
>>> I'm having some weird behaviour and have spent the last weekend trying
>>> to figure out what is going on. Here is what's happening:
>>>
>>> I have an EO record that has a number of fields including foreign
>>> keys. I run the application on my machine or on a Mac Server and edit
>>> a record by changing field values, including selections in different
>>> popups to change the foreign key values. I verify that the changes
>>> have been made by using a SQL application called Froq App to look
>>> directly into the database.
>>>
>>> Now the weird thing is that sometimes the data is not changed in the
>>> database. I'll log out and then back into the app and make the exact
>>> same changes and this time it works. This completely scares me and now
>>> I have absolutely no faith in what the application is saving.
>>>
>>> Any one have any clues on why this might be happening and what I can
>>> do to figure this out. I'm completely stumped. :-(
>>>
>>> Calven
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>>
>> Thank you
>>
>> Ken Ishimoto
>>
>> --------------------------------------------------------
>> K's ROOM
>> --------------------------------------------------------
>> [E-Mail] <email@hidden <mailto:email@hidden>>
>> [iChat:] <email@hidden <mailto:email@hidden>>
>> [HP] http://www.ksroom.com/
>> _____________________________________________________________________
>> This e-mail has not been scanned for viruses because it was written on
>> an Mac,
>> and there are NO Viruses on an Apple Computer.
>> For further information visit http://www.apple.com
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> --
> Andrew Lindesay
> www.silvereye.co.nz
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden