×

Notice

The forum is in read only mode.
×
Getting new Releases

To get notified on new releases you may follow us on twitter @expandframework or subscribe in our main RSS feed.

Topic-icon UserModel Difference Object

  • melih.yilman
  • melih.yilman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago #11512 by melih.yilman
UserModel Difference Object was created by melih.yilman
Hello tolis
I trying to unlink user at "User model difference object" and i get this error. That tells me UserModelDifferenceObjects property cannot find.
If i add collection named "UserModelDifferenceObjects" its works fine . Should i add that property ?

An error with number 1044 has occurred.
Error message: Cannot find the 'UserModelDifferenceObjects' property within the 'ManageMind.Module.Personnel' class

at DevExpress.ExpressApp.Security.ObjectAccessComparer.IsMemberReadGranted(Type requestedType, String propertyName, SecurityContextList securityContexts)
at DevExpress.ExpressApp.DataManipulationRight.HasPermissionTo(Type objectType, ObjectAccess objectAccessType, String memberName, Object targetObject, CollectionSourceBase collectionSource)
at DevExpress.ExpressApp.DataManipulationRight.CanEdit(Type objectType, String memberName, Object targetObject, CollectionSourceBase collectionSource, IObjectSpace objectSpace)
at DevExpress.ExpressApp.SystemModule.LinkUnlinkController.UpdateActionsState()
at DevExpress.ExpressApp.SystemModule.LinkUnlinkController.View_CurrentObjectChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at DevExpress.ExpressApp.View.OnCurrentObjectChanged()
at DevExpress.ExpressApp.ObjectView.OnCurrentObjectChanged()
at DevExpress.ExpressApp.ListView.DoOnListEditorFocusedObjectChanged()
at DevExpress.ExpressApp.ListView.listEditor_FocusedObjectChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at DevExpress.ExpressApp.Editors.ListEditor.OnFocusedObjectChanged()
at DevExpress.ExpressApp.Win.Editors.WinColumnsListEditor.OnFocusedObjectChanged()
at DevExpress.ExpressApp.Win.Editors.WinColumnsListEditor.view_FocusedRowObjectChanged(Object sender, FocusedRowObjectChangedEventArgs e)
at DevExpress.XtraGrid.Views.Base.FocusedRowObjectChangedEventHandler.Invoke(Object sender, FocusedRowObjectChangedEventArgs e)
at DevExpress.XtraGrid.Views.Base.ColumnView.RaiseFocusedRowObjectChanged(FocusedRowObjectChangedEventArgs e)
at DevExpress.XtraGrid.Views.Base.ColumnView.OnCurrentControllerRowObjectChanged(CurrentRowChangedEventArgs e)
at DevExpress.XtraGrid.Views.Grid.GridView.OnCurrentControllerRowObjectChanged(CurrentRowChangedEventArgs e)
at DevExpress.XtraGrid.Views.Base.ColumnView.DevExpress.Data.IDataControllerCurrentSupport.OnCurrentControllerRowObjectChanged(CurrentRowChangedEventArgs e)
at DevExpress.Data.BaseGridController.OnCurrentControllerRowObjectChanging(Object oldObject, Object newObject, Int32 level, Int32 sourceIndex)
at DevExpress.Data.BaseGridController.SetCurrentControllerRowObject(Object value, Int32 level, Int32 sourceIndex)
at DevExpress.Data.BaseGridController.CheckCurrentControllerRowObject(ListChangedEventArgs e)
at DevExpress.Data.CurrencyDataController.CheckCurrentControllerRowObject(ListChangedEventArgs e)
at DevExpress.Data.BaseGridController.OnCurrentControllerRowChanged()
at DevExpress.Data.BaseGridController.OnCurrentControllerRowChanging(Int32 oldControllerRow, Int32 newControllerRow)
at DevExpress.Data.BaseGridController.set_CurrentControllerRow(Int32 value)
at DevExpress.XtraGrid.Views.Grid.GridView.DoChangeFocusedRow(Int32 currentRowHandle, Int32 newRowHandle, Boolean raiseUpdateCurrentRow)
at DevExpress.XtraGrid.Views.Base.ColumnView.DoChangeFocusedRowInternal(Int32 newRowHandle, Boolean updateCurrentRow)
at DevExpress.XtraGrid.Views.Base.ColumnView.set_FocusedRowHandle(Int32 value)
at DevExpress.ExpressApp.Win.Core.XtraGridUtils.SelectRowByHandle(ColumnView view, Int32 rowHandle, Boolean setFocus, Boolean expand)
at DevExpress.ExpressApp.Win.Editors.WinColumnsListEditor.SelectRowByHandle(Int32 rowHandle)
at DevExpress.ExpressApp.Win.Editors.WinColumnsListEditor.RestoreFocusedRow()
at DevExpress.ExpressApp.Win.Editors.WinColumnsListEditor.DataController_ListChanged(Object sender, ListChangedEventArgs e)
at System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e)
at DevExpress.Data.DataControllerBase.RaiseOnListChanged(ListChangedEventArgs e)
at DevExpress.Data.CurrencyDataController.RaiseOnBindingListChanged(ListChangedEventArgs e)
at DevExpress.Data.Helpers.ListDataControllerHelper.OnBindingListChanged(ListChangedEventArgs e)
at DevExpress.Data.DataControllerBase.OnBindingListChanged(Object sender, ListChangedEventArgs e)
at System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e)
at DevExpress.ExpressApp.ProxyCollection.OnListChanged(ListChangedEventArgs eventArgs)
at DevExpress.ExpressApp.ProxyCollection.Remove(Object obj)
at DevExpress.ExpressApp.CollectionSourceBase.Remove(Object obj)
at DevExpress.ExpressApp.PropertyCollectionSource.Remove(Object obj)
at DevExpress.ExpressApp.SystemModule.LinkUnlinkController.UnlinkObjectsCore(IList selectedObjects)
at DevExpress.ExpressApp.SystemModule.LinkUnlinkController.UnlinkObjects(IList selectedObjects)
at DevExpress.ExpressApp.SystemModule.LinkUnlinkController.Unlink(SimpleActionExecuteEventArgs args)
at DevExpress.ExpressApp.SystemModule.LinkUnlinkController.unlinkAction_OnExecute(Object sender, SimpleActionExecuteEventArgs e)
at DevExpress.ExpressApp.Actions.SimpleAction.RaiseExecute(ActionBaseEventArgs eventArgs)
at DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(Delegate handler, ActionBaseEventArgs eventArgs)
More
1 year 4 weeks ago #11513 by Tolis
Replied by Tolis on topic UserModel Difference Object
I cannot suggest with this happens it is the first time I see this case. The member should be generated automatically from

github.com/expand/eXpand/blob/d68c191890...rence/Module.cs#L137

so as long as the Application.CanBuildSecurityObjects the method should generate them.
github.com/expand/eXpand/blob/2b8d71146d...ensions.cs#L213-L215

the same approach is used for many modules
github.com/expand/eXpand/search?utf8=%E2...ecurityObjects&type=

but sure if it works by manually addiding the property go ahead is nothing special with it than it relation

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand
Moderators: expand
Time to create page: 0.202 seconds