×

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 runtime model members

  • melih.yilman
  • melih.yilman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 months 3 weeks ago #11590 by melih.yilman
runtime model members was created by melih.yilman
Type: AggregateException
Message: Runtime members creation failed
Data: 0 entries
Stack trace:

at: Xpand.Persistent.Base.RuntimeMembers.RuntimeMemberBuilder.CreateRuntimeMembers(IModelApplication model)
at: Xpand.ExpressApp.ModelDifference.ModelDifferenceBaseModule.LoadModels()
at: Xpand.ExpressApp.ModelDifference.ModelDifferenceBaseModule.OnUserDifferencesLoaded(Object sender, EventArgs eventArgs)
at: System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at: DevExpress.ExpressApp.XafApplication.LoadUserDifferences()
at: DevExpress.ExpressApp.XafApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
at: DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
InnerException:

Type: Exception
Message: Failed to create photo on ManageMind.Module.Personnel
Data: 0 entries
Stack trace:


InnerException:

Type: InvalidCastException
Message: The object 'ModelBOModelClassMembers' could not be dismissed with the object 'DevExpress.ExpressApp.Model.IModelClass'.
Data: 0 entries
Stack trace:

at: Xpand.Persistent.Base.RuntimeMembers.RuntimeMemberBuilder.CreateXpandCustomMemberInfo(IModelMemberEx modelMemberEx, XPObjectSpace objectSpace)
at: Xpand.Persistent.Base.RuntimeMembers.RuntimeMemberBuilder.CreateRuntimeMembers(IModelApplication model)
InnerException is null
More
3 months 3 weeks ago #11591 by Tolis
Replied by Tolis on topic runtime model members
sorry this stack does not help much, how about a sample?

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
More
3 months 1 week ago #11617 by jacobdeboer
Replied by jacobdeboer on topic runtime model members
Hi Tolis

Try this sample. I was just going to create a ticket myself ;)

On DomainObject2 add a runtime member of type domainobject1.

Thanks,
Jacob

This message has an attachment file.
Please log in or register to see it.

More
3 months 1 week ago #11619 by Tolis
Replied by Tolis on topic runtime model members
Hi Jacob,

Using the ME I created a new Persistent Member, the modified Model.DesignedDiffs.Xafml looked like
<BOModel>
    <Class Name="Solution4.Module.BusinessObjects.DomainObject1">
      <OwnMembers>
        <RuntimeMember Name="d2" IsCustom="True" Type="Solution4.Module.BusinessObjects.DomainObject2" CreatedAtDesignTime="True" IsNewNode="True" />
      </OwnMembers>
    </Class>
  </BOModel>

No exceptions however, everything worked as the Related EasyTests , care to post more details on what exactly I have to do?

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
More
3 months 1 week ago #11623 by jacobdeboer
Replied by jacobdeboer on topic runtime model members
Hi Tolis

I am doing the following steps:
- Start application
- In menu go to Default->Application Settings
- Open up the Applicaiton Model
- Under BOModel go to DomainObject2 and expand it and expand own members
- Right click on on own members and choose Add->Persistent
- Change Id to DC1
- Change Type DomainObject1
- Save and close model -> Exception

I will make a screencast if you can't reproduce this, but screencasts are a hasstle to me... What are you using for screencasts?

Thanks,
Jacob
More
2 months 2 days ago #11695 by jacobdeboer
Replied by jacobdeboer on topic runtime model members
Hi Tolis

Have you tried the steps in my previous post?

Thanks,
Jacob
Moderators: expand
Time to create page: 0.283 seconds