ParentBusinessObject just gone


Author
Message
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I haven't download 1.6.5 Beta. Would like to know if this issue has been fixed in 1.6.5 Beta? If not, is it going to be fixed in 1.6.5?



Thank you
StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Nope, it's not overlooked, it's on the slate for a resolution in the next couple days.  We're fixing a couple other outstanding issues and will have a complete update pretty soon.  Version won't change... it will be more of a maintenance release.
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

Did you overlook this issue?

Or, any workaround? Anybody else face this problem? No? Only me? strange Sad
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

Just want to know if you could download the sample zip file?
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

After more debugging, I found a very weird behavour. Inside BO.PropertyFieldChanged event, ParentBusinessObject property is null. However, if I debug from form button_click event, the same BO.ParentBusinessObject property show th correct reference.



I have attached sample project.



1. Try to run it

2. Click on simple button1, nothing happen. It is ok.

3. Click simple button 2, new row shown in xtragrid.

4. Key in any value in gridcolumn2. Click on any other column in order PropertyFieldChanged event fired.

5. Error "null reference " occured.



Please advice. Thank you



I failed to upload attachment here. Please download my sample code using url below.



http://files-upload.com/files/456049/Sample1.zip
StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you never reached the breakpoint to the setter, could it be that the code relying on the ParentBusinessObject is being called before it's being set?  Could you post the stack trace for the NullReferenceException that you're getting?  Or if you're not getting a NullReferenceException, let me know more of the symptoms of the problem.
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

For additional info, I used to set breakpoint in ParentBusinessObject Setter method, I didn't see event that set null to this property.



Please advice
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I have SalesBO and SaleDetailsBO, which already set its ParentRelationShip and ParentBusinessObject.

I don't know why the ParentBusinesObject property become null suddenly. I can't find any code the set parentbusinessObject property to null in my project.



Any ideas on what could cause this problem?

How could I debug it? Anyway to debug like VFP, break if parentbusinessobject = null nomatter where?



URGENT!



Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search