Status | ID | Priority | Type |
Closed | 28970 | Blocker | Bug |
Profile | Reply |
KrayClient | Hello, My problem is as follows, I have a business object called MT_Proposals, and in this business object i have a property called ProposalType(CT_Proposal_Types which is another BO). I've cloned MT_Proposals_ListView and created two ListViews called 'MT_Proposals_ListView_ProjectProposal' and 'MT_Proposals_ListView_SalesProposal', and these new Listviews have the following data criteria in the model editor; 'MT_Proposals_ListView_ProjectProposal's data criteria : [ProposalType.ProposalTypeName] = 'Project Proposal' The problem is, filtering works fine in the Listviews but when i click new button in one of these two listviews, i expect it to set 'ProposalType' field correctly in the detailview, but it always sets 'Project Proposal' as ProposalType. In debug mode, when i look at call stack i see these methods run by Xafari. 1-) Xafari.dll!Xafari.Controllers.ListViewCriteriaObjectCreatingController.NewObjectViewController_ObjectCreating(object sender, DevExpress.ExpressApp.SystemModule.ObjectCreatingEventArgs e) Line 119 2-) Xafari.dll!Xafari.XafariExtensions.FillObjectByCriteria(DevExpress.Data.Filtering.CriteriaOperator cOperator, object newObject, DevExpress.ExpressApp.IObjectSpace objectSpace, System.Collections.Generic.IList skipMembers) Line 392 3-) DevExpress.ExpressApp.v16.2.dll!DevExpress.ExpressApp.DC.XafMemberInfo.SetValue(object obj, object value) Line 113 After Xafari's FillObjectByCriteria, DevExpress.ExpressApp.v16.2.dll!DevExpress.ExpressApp.DC.XafMemberInfo.SetValue(object obj, object value) value parameter comes 'Project Proposal'. Unfortunately i do not have Xafari's source code, so i do not have any idea what's happening in this FillObjectByCriteria method. I'd be glad if you could help me. I've attached an image to give you a better idea. |
User | Description | Posted On |