New Posts New Posts RSS Feed: OnPropertyChanged version differences
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

OnPropertyChanged version differences

 Post Reply Post Reply
Author
chuckc View Drop Down
Groupie
Groupie


Joined: 27-Feb-2010
Posts: 54
Post Options Post Options   Quote chuckc Quote  Post ReplyReply Direct Link To This Post Topic: OnPropertyChanged version differences
    Posted: 12-Dec-2011 at 2:05pm

It appears that the conditions under which OnPropertyChanged() is called have changed somewhere between versions 6.1.2.1 and 6.1.3.1.  

How do I get the OnPropertyChanged() calls to behave as they did in 6.1.2.1?

        public static Person Create(iCatalystEntityManager manager)
        {
            Person person = manager.CreateEntity<Person>();
            person.PersonId = Guid.NewGuid(); 

            person.MaritalStatusId = _defaultMaritalStatusId; // in 6.1.2.1 this would produce an OnPropertyChanged() call; in 6.1.3.1 it does not.

            person.EntityAspect.AddToManager();

            person.IsNewAndUnchanged = true;

            return person;
        } 

   protected override void OnPropertyChanged(PropertyChangedEventArgs e)
        {
            base.OnPropertyChanged(e);

            // Update properties that need refresh as a side-effect of some other properties changing...               }

 

Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 13-Dec-2011 at 5:36pm
Hi chuckc;

This appears to be a bug. Let me file a bug report and update you with a workaround as soon as I have one.
Back to Top
chuckc View Drop Down
Groupie
Groupie


Joined: 27-Feb-2010
Posts: 54
Post Options Post Options   Quote chuckc Quote  Post ReplyReply Direct Link To This Post Posted: 14-Dec-2011 at 7:37pm
When should I expect a bug fix?  

I'd prefer not to uninstall and re-install DevForce, and roll back the changes I had to make to update to 6.1.3.1, but I will have to if a bug fix is going to take more than a couple days.

Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 14-Dec-2011 at 10:06pm
We are going to be releasing a patch for 6.1.4 soon. The fix for this is scheduled to be included in that version.
Back to Top
chuckc View Drop Down
Groupie
Groupie


Joined: 27-Feb-2010
Posts: 54
Post Options Post Options   Quote chuckc Quote  Post ReplyReply Direct Link To This Post Posted: 15-Dec-2011 at 5:08am
Is "soon" hours, days or weeks?
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 15-Dec-2011 at 3:27pm
We are aiming to release by end of the week.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 16-Dec-2011 at 12:28pm
Hi chuckc;

I pm'ed you the link to download 6.1.4.1 patch.
Back to Top
GeorgeB View Drop Down
Groupie
Groupie


Joined: 03-May-2010
Posts: 66
Post Options Post Options   Quote GeorgeB Quote  Post ReplyReply Direct Link To This Post Posted: 17-Dec-2011 at 2:25am
Hi Denis
 
When will the rest of us see the patch?
 
Kr
George
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 17-Dec-2011 at 10:45am
George, we may push this out to everyone sometime next week, but Denis can give you the download link on Monday.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 19-Dec-2011 at 11:41am
Hi George;

I just pm'ed you the link.
Back to Top
chuckc View Drop Down
Groupie
Groupie


Joined: 27-Feb-2010
Posts: 54
Post Options Post Options   Quote chuckc Quote  Post ReplyReply Direct Link To This Post Posted: 19-Dec-2011 at 11:58am
Thanks!  

Seems to work fine in my initial testing.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down